Hello,
I'm currently trying to use the Eclipse Plugin provided at
http://people.apache.org/~ppoddar/eclipse.
Unfortunately, this uses the new 2.0 SNAPSHOT with seems to have some
issues in enhancing the persistent classes. Only primitive types are
enhanced at all. All @OneToOne or @OneToMany Relationships are completely
ignored.
In case I do the enhancement by myself using the PCEnhancer, the files are
correctly enhanced, so I'm unsure what the Plugin is doing differently.
Here is an example of what the Plugin does (decompiled)
<raw>
public void setBranche(Branche branche) {
this.branche = branche;
}
public Branche getBranche() {
return this.branche;
}
</raw>
and what the PCEnhancer does correctly:
<raw>
public void setBranche(Branche branche) {
pcSetbranche(this, branche);
}
public Branche getBranche() {
return pcGetbranche(this);
}
</raw>
Any suggestions in this direction?
Thanks,
Heiko
PS: Does anybody know a good Howto on setting up openJPA 1.2 or the
nightly build of 2.0 on a Websphere 6.1 + EJB3 FP? It's really a pain to
circumvent the existing openJPA 1.0.4-SNAPSHOP in there. I've tried a lot
and I can't manage to make IBM's code NOT interfere with my own JPA
implementation.
--
Dr.-Ing. Heiko Kopp / Fa. GFI - iT media Consult GmbH
c/o Mercedes-Benz Bank
HPC 032 - ITF/FS-DPS
70469 Stuttgart
Tel.: 0711 2574-6144
Fax: 0711 2574-96144
E-Mail: [email protected]
If you are not the intended addressee, please inform us immediately that you
have received this e-mail in error, and delete it. We thank you for your
cooperation.