Hello All,
I have class with two identity fields :
<class name="FieldLabels"
identity="ClassID FieldName">
<map-to table="labels" xml="labels" />
<field name="ClassID" type="string" >
<sql name="classid" type="varchar"/>
<xml node="attribute"/>
</field>
<field name="FieldName" type="string">
<sql name="field" type="varchar" />
<xml node="text" />
</field>
<field name="FieldLabel" type="string">
<sql name="label" type="varchar" />
<xml node="text" />
</field>
</class>
How I can take FieldDescriptor for identity fields?
ClassDescriptor declare two methods:
FieldDescriptor[] getFields();
FieldDescriptor getIdentity();
|
-----> Why not a FieldDescriptor[]?
--
Best regards,
Konstantin mailto:[EMAIL PROTECTED]
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev