-->
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: accessing a parent field from a bag's where clause
PostPosted: Sat Mar 21, 2009 12:46 pm 
Newbie

Joined: Sat Mar 21, 2009 12:39 pm
Posts: 1
<class name="Il" table="IL">
<id name="id" column="ID" type="long" access="field">
<generator class="native"/>
</id>

<property name="someNumber" column="SOME_NUMBER" access="field" not-null="true"/>
<bag name="ilceleri" table="ILCE" where="IL.SOME_NUMBER = IL_ID">
<key column="IL_ID" not-null="true"/>
<one-to-many class="Ilce"/>
</bag>
</class>

hi all,

how can i access a field from the bag's container in the where clause like in the example?


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.