Back Forum Reply New

Questions regarding JPA providers and java agent

Questions regarding JPA providers and java agent
In the documentation on spring-framework-2.5:

Code:
When is load-time weaving required?

Not all JPA providers impose the need of a JVM agent (Hibernate being an example). If your provider does not require an agent or you have other alternatives (for example applying enhancements at build time through a custom compiler or an ant task) the load-time weaver should not be used.
This means that i can use jpa hibernate in tomcat without even use the option spring LoadTimeWeaver?
Is it right?

In the documentation on OpenJPA:

Code:
Limitations

JavaAgent - OpenEJB uses OpenJPA to provide JPA and CMP persistence, and OpenJPA currently requires a JavaAgent to function properly. This requirement is something that the OpenJPA project is working on removing.
Spring has made LoadTimeWeaver but could solve the problem at the root without having to wait for an upgrade jpa provider?
¥
Back Forum Reply New