문제

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.

도움이 되었습니까?

해결책 2

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.

다른 팁

Using OpenJPA Eclipse Tooling worked for me.

UPDATE: Scratch that, it produces wrong code https://issues.apache.org/jira/browse/OPENJPA-1879.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top