
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
23/Apr/06 02:02 AM
|
|
2. The mapped-by attribute for fields employees and fundedEmps is not using the
correct case. The below is correct
<class name="Department" table="departments">
<datastore-identity strategy="identity" column="ID"/>
<field name="name" column="NAME"/>
<field name="company" column="COMPANYID"/>
<field name="employees" mapped-by="department"/>
<field name="fundedEmps" mapped-by="fundingDept"/>
</class>
3. The field "insid" must be removed from the Insurance class when under the
orm/datastoreidentity folder.
<class name="Insurance" table="insuranceplans">
<inheritance strategy="new-table">
<discriminator strategy="class-name" column="DISCRIMINATOR"/>
</inheritance>
<field name="insid" column="INSID" primary-key="true"/>
(reported by Erik Bengston)
|
|
Description
|
2. The mapped-by attribute for fields employees and fundedEmps is not using the
correct case. The below is correct
<class name="Department" table="departments">
<datastore-identity strategy="identity" column="ID"/>
<field name="name" column="NAME"/>
<field name="company" column="COMPANYID"/>
<field name="employees" mapped-by="department"/>
<field name="fundedEmps" mapped-by="fundingDept"/>
</class>
3. The field "insid" must be removed from the Insurance class when under the
orm/datastoreidentity folder.
<class name="Insurance" table="insuranceplans">
<inheritance strategy="new-table">
<discriminator strategy="class-name" column="DISCRIMINATOR"/>
</inheritance>
<field name="insid" column="INSID" primary-key="true"/>
(reported by Erik Bengston) |
Show » |
|