Hi,
I have add a map to hibernate "FormTabMetaData" class map file. As a result now the class is not fatching any record.I am adding coding here.Any help will be cherished.
There are three tables:
FormTabMetaData--
1.1 tabid
1.2 fieldid
1.3 name
------------
FormFieldMetaData--
2.1 fieldid
2.2 name
2.3 attrbtid
------------
AttributeRight--
3.1 attrbtid
3.2 name
The map code is:
<map name="visibleAttributes" table="formFieldMetaData" lazy="true" > <key column="idFormTabMetaData"/> <index column="idFormFieldMetaData" type="java.lang.Long" > </index> <composite-element class="com.eforce.license.licensemanager.transferobject.AttributeRight"> <parent name="formFieldMetaData"/> <property name="name" column="idAttributePermission" type="java.lang.Long" not-null="true"/> </composite-element> <filter name="Deleted" /> </map>