Hi,
i've got the following mapping (sorry for the fake lame names...)
Code:
<hibernate-mapping>
<class name="org.xx.dossierformation.model.DF" table="DF">
<id name="id" column="DF_ID" type="java.lang.Long">
<generator class="identity"/>
</id>
<property name="dfF1" column="DF_F1" type="java.lang.String" not-null="true"/>
<joined-subclass name="org.xx.dossierformation.model.DFStd" table="DFS">
<key column="DF_ID"/>
<property name="dfsInfo" column="DFS_INFO" type="java.lang.String" not-null="true"/>
</joined-subclass>
<joined-subclass name="org.xx.dossierformation.model.DFMasse" table="DFM">
<key column="DF_ID"/>
<property name="dfmInfo" column="DFM_INFO" type="java.lang.String" not-null="true"/>
</joined-subclass>
</class>
</hibernate-mapping>
tables look likes:
DF
-------------
DF_ID
DF_F1
DFS
-------------
DF_ID
DFS_INFO
DFM
-------------
DF_ID
DFM_INFO
I just would like to be able to rename the DF_ID column in the tables DFM & DFS following my conventions... (i.e. DFS_ID_FK, DFM_ID_FK)
Is there any way to do that???