Search code examples
openjpapersistence.xml

How to use OpenJpa using persistence.xml without using Enhance.xml ..?


How can I use OpenJpa ,with using Persistence.xml configuration same we use in jpa, I dont want to use Enhance.xml.


Solution

  • If you rely on some non-IDE tool to build your app, you can enhance automatically during buildtime. For Maven, for example, see this