openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <>
Subject RE: OpenJPA Eclipse Tooling plugin - missing entity relationships
Date Mon, 22 Nov 2010 13:34:42 GMT
Don't waste your time with anything other than the ant built,  all these
plugins and such will drive you mad tying to troubleshoot issues completely
unrelated to enhancement. I learned this the hard way because I was trying
to avoid using ant, it's an apache project so they expect you to use ant. 


-----Original Message-----
From: Joel Halbert [] 
Sent: Monday, 22 November 2010 11:52 PM
Subject: OpenJPA Eclipse Tooling plugin - missing entity relationships


I have installed the OpenJPA Eclipse Tooling plugin, to provide compile time
My source spans two projects, project1 & project2. The code in project2 is
dependent on project1.
I have some entities in project2 that have a ManyToOne attribute, using an
Entity in project1.  e.g.

Project1Entity {

     private Project2Entity project2Entity;

     public Project2Entity getProject2Entity () {
         return project2Entity;
     public voidsetProject2Entity (Project2Entity e) {
         this.project2Entity = e;

This used to work fine with runtime enhancement, but it no longer works with
compile time enhancement - when the Project1Entity table is created it is
now missing the Project2Entity field.

Could this be related to the fact that my entities are across two distinct
eclipse projects? Both projects have the openjpa Bytecode enhancer set.


View raw message