On Mar 22, 2011, at 4:55 PM, David Blevins wrote: > > On Mar 22, 2011, at 1:28 PM, Thiago Veronezi wrote: > >> I'm still playing with the following: >> • org.apache.openejb.core.stateful.EntityManagerPropogationTest: >> 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 >> • org.apache.openejb.core.cmp.jpa.UnenhancedTest: >> 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 > > Looks familiar. Starting to remember we had to had a flag to compensate for > change OpenJPA default behavior with regards to turning on subclass-based JPA > support. > > Kevan, do you recall what that flag was?
openjpa.RuntimeUnenhancedClasses http://openjpa.apache.org/builds/2.1.0/apache-openjpa-2.1.0/docs/manual/ref_guide_conf_openjpa.html#openjpa.RuntimeUnenhancedClasses OK for tests, but there are multiple issues with their subclassing support. So, really wouldn't recommend it to anyone in a real environment... --kevan
