Search code examples
jpaeclipselinkopenjpabndbndtools

JPA enhancement with Bndtools


Some JPA implementations use bytecode enhancement to achieve performance. I am interested in OpenJPA and EclipseLink (which calls it weaving instead). They provide an Ant task to do it at build time. Can I make Bndtools run it (unlikely) or give it already enhanced .class files?

One possibility would be to write a Bnd plugin, so I am looking for others.


Solution

  • Using openjpa-maven-plugin, enabling enhance goal in m2e in the usual way, and moving Maven Project Builder before Bndtools Builder in project properties works.