Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JavaAgent - OpenEJB uses OpenJPA to provide JPA and CMP persistence, and OpenJPA currently requires a JavaAgent to function properly in a Java 1.5 environment. OpenJPA does not require a JavaAgent in Java 1.6. Use Hibernate as your the provider in your persistence.xml files if you wish to avoid this requirement.

EntityManager - Having an OpenEJB created EntityManagers or EntityManagerFactories injected into Spring beans is currently not supported. This will be added to the next release. A small workaround for this is to use an EJB as a factory by adding a 'getEntityManager' method an using it as a Spring instance factory method.