-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to Write the Mapping For Left Join pls help me
PostPosted: Wed May 13, 2009 8:07 am 
Newbie

Joined: Wed May 13, 2009 7:08 am
Posts: 2
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.........


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.