Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] How to use EclipseLink Native API with JPA

    J. is off today. To answer your question on why dynamic weaving is not available on JBoss.  The JBoss implementation of PersistenceUnitInfo.getNewTempClassLoader() throws a NPE internally in its UniversalClassLoader3.loadClass(entity) in 4.2.2 up to 5.0 - this should be fixed in 5.0CR2.
see the open JBoss JIRA EJBTHREE-572....
    Dynamic weaving is disabled due to (JIRA-572), However in a JBoss press release last week, the upcoming 5.0CR2 release (Oct 2008) will be fully JEE5 - we just need to reverify this issue once we get a copy of the latest JBoss release this month.  If we can get a temporary classLoader using 5.0CR2 then the JBossPlatform will be updated or subclassed as needed for the server version.
Static Weaving workaround:
JBoss EclipseLink JPA quickstart tutorial
    thank you
-----Original Message-----
From: Magnus Heino [mailto:magnus@xxxxxxxxx]
Sent: Friday, October 03, 2008 07:37
To: EclipseLink User Discussions
Subject: Re: [eclipselink-users] How to use EclipseLink Native API with JPA

have to worry about weaving or other such issues.  Although, since you are
using JBoss you may want to use static weaving for any lazy OneToOne or

Why is this?


Back to the top