Am 19.10.2012 21:42, schrieb Romain Manni-Bucau:
Load time enhancement simply needs the openejb javaagent (added by default)
Good to know, thanks. But that won't help in embedded usage - e.g. for
integration tests with Pax Exam or Arquillian. You want to run tests
directly from the IDE without having to add -javaagent options manually
to each and every test launcher.
Best regards,
Harald
Le 19 oct. 2012 21:15, "Harald Wellmann" <[email protected]> a écrit :
Looking for load time enhancement support in TomEE, the only information
I've found is this article:
http://rmannibucau.wordpress.**com/2012/07/26/tomee-and-**
openejb-jpa-deploy-time-**enhancement/<http://rmannibucau.wordpress.com/2012/07/26/tomee-and-openejb-jpa-deploy-time-enhancement/>
Now this kind of deploy-time enhancement is certainly better than
build-time enhancement which ties your model classes to OpenJPA, but I
think this is rather brute force compared to real load-time enhancement by
means of PersistenceUnitInfo.**addClassTransformer().
GlassFish, Aries and Pax JPA all use this method which works smoothly with
OpenJPA.
Is this on the agenda for TomEE?
Best regards,
Harald