This is my Query : ------------------ "select a.Langu,v.Languid,v.Descr from Sjx_cfg_langu a left join Sjx_cfg_langut v on a.Langu=v.Langu and v.Languid='en' "
And this is my Parent Mapping File: --------------------------------- <hibernate-mapping> <class dynamic-insert="false" dynamic-update="false" mutable="true" name="com.sajix.helix.eventclasses.Sjx_cfg_langu" optimistic-lock="version" polymorphism="implicit" select-before-update="false" table="sjx_cfg_langu"> <id name="Langu" column="Langu"> </id>
</class> </hibernate-mapping>
Child Mapping File : ------------------ <hibernate-mapping> <class dynamic-insert="false" dynamic-update="false" mutable="true" name="com.sajix.helix.eventclasses.Sjx_cfg_langut" optimistic-lock="version" polymorphism="implicit" select-before-update="false" table="sjx_cfg_langut"> <id name="Languid" column="Languid"> </id> <property name="Langu" column="Langu"/> <property name="Descr" column="Descr"/>
</class> </hibernate-mapping>
Can u pls tell how can i write the mapping for my query
Thank u very much for ur valuable reply.........
|