Hello,
How can i disable enhancement on my netbeans project ? both build and compile
time.
I tried
<property name="openjpa.DynamicEnhancementAgent" value="false"/>
It still gives me
125 jpatestingPU INFO [main] openjpa.jdbc.JDBC - Using dictionary class
"org.apache.openjpa.jdbc.sql.MySQLDictionary".
Exception in thread "main" <openjpa-2.0.0-M3-r422266:822833 nonfatal user
error> org.apache.openjpa.persistence.ArgumentException: This configuration
disallows runtime optimization, but the following listed types were not
enhanced at build time or at class load time with a javaagent: "[class
com.ejb.entity.Magazine]".
at
org.apache.openjpa.enhance.ManagedClassSubclasser.prepareUnenhancedClasses(ManagedClassSubclasser.java:117)
at
org.apache.openjpa.kernel.AbstractBrokerFactory.loadPersistentTypes(AbstractBrokerFactory.java:305)
I am using openJPA 2.0///
Thanks
sriram