Is this possible?
<class name="com.itn.common.bizbeans.PurchaseOrderExtraServices"
identity="extraServices purchaseOrder" >
<map-to table="PurchaseOrder2_ExtraServices"
xml="PurchaseOrderExtraServices" />
<cache-type type="none" />
<field name="price" type="double">
<sql name="price" type="numeric" />
<bind-xml name="price" node="element" />
</field>
<field name="boToDivPrice" type="double">
<sql name="boToDivPrice" type="numeric" />
<bind-xml name="boToDivPrice" node="element" />
</field>
<field name="addedFrom" type="string">
<sql name="addedFrom" type="varchar" />
<bind-xml name="addedFrom" node="element" />
</field>
<field name="quantity" type="double">
<sql name="quantity" type="numeric" />
<bind-xml name="quantity" node="element" />
</field>
<field name="extraServices"
type="com.itn.common.bizbeans.ExtraServices">
<sql name="extraServicesID" />
<bind-xml name="ExtraServicesID" node="element" />
</field>
<field name="purchaseOrder"
type="com.itn.common.bizbeans.PurchaseOrder">
<sql name="purchaseOrderID" />
<bind-xml name="PurchaseOrder" node="element" />
</field>
<field name="invoiceID" type="integer">
<sql name="invoiceID" type="numeric" />
<bind-xml name="invoiceID" node="element" />
</field>
</class>
The primary key on this table is extraServicesID & purchaseOrderID. How do I
use these when create this object.? The way I have shown above does not seem
to work.
Thanks
-john:m
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev