Hi,
I have installed the OpenJPA Eclipse Tooling plugin, to provide compile
time enhancement.
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.
@Entity
@Access(AccessType.PROPERTY)
Project1Entity {
private Project2Entity project2Entity;
@ManyToOne
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.
Thanks
Joel