finally everything is working again, inluding the nightly build :-)
just one last question. i'm now able the define the forein key for the table TBENUTZER:
Code:
<column name="FK_TBENUSTAT_ISTATUS" jdbc-type='' property="benutzerStatus" type="najs.model.BenutzerStatus" />
<foreign-key constraint-name="PK_TBENUTZER_STATUS" foreign-table="TBENUTZER_STATUS">
<column-ref local-column="FK_TBENUSTAT_ISTATUS" foreign-column="ISTATUS" />
<many-to-one property="benutzerStatus"/>
</foreign-key>
Then the model class has a property
Code:
private BenutzerStatus benutzerStatus;
which is what i wanted :-)
The table TZUGANG has also a foreign key which points to the TBENUTZER table.It's defined like that in the TZUGANG table mapping (reveng file):
Code:
<column name="FK_TBENU_ILAUFNR" jdbc-type='' property="benutzer" type="najs.model.Benutzer" />
<foreign-key constraint-name="PK_TBENUTZER" foreign-table="TBENUTZER">
<column-ref local-column="FK_TBENU_ILAUFNR" foreign-column="ILAUFNUMMER"/>
<many-to-one property="benutzer"/>
</foreign-key>
The model class Zugang.java is created and has a property
Code:
private Benutzer benutzer;
:-) till here everything is ok.
if i take a look at the Benutzer class again, i can see the inverse mapping to the table TZUGANG and there are suddenly two more properties defined:
Code:
private Set tzugangsForFkTbenuIlaufnr = new HashSet(0);
private Set tzugangsForFkTbenuIlaufnr_1 = new HashSet(0);
Why are there two of these properties? And how can i define the property name? Did i something wrong in the reverse engineering file?
Kind Regards and Happy Easter!
Angela