-->
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: Ordered List
PostPosted: Fri Sep 07, 2007 9:50 am 
Newbie

Joined: Fri Sep 07, 2007 9:42 am
Posts: 1
Hi every one

here is my piece of code :

Hibernate version: 3.2.4

Mapping code:
<list name="myList" lazy="true" cascade="all,evict" outer-join="false">
<cache usage="read-write"/>
<key column="UID" />
<list-index column="OUT_DATE"/>
<one-to-many class="com.xxxxxx.MyClass" />
</list>

I want to map a list of objects using an index "automatically computed" according to OUT_DATE sorting order. Is this possible ?
Thanks and have a good day ;)


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.