-->
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.  [ 2 posts ] 
Author Message
 Post subject: index is NOT updated in index column
PostPosted: Thu Jun 10, 2004 4:15 am 
Newbie

Joined: Sat Nov 01, 2003 12:35 pm
Posts: 11
Hi,
I have a list collection with configuraiton as follows:

<list name="correlationLots" cascade="all-delete-orphan" inverse="true">
<key column="cpbr"/>
<index column="seq"/>
<one-to-many class="com.tsmc.pdmcp.basicrecord.CorrelationLot"/>
</list>

I find that the index "seq" column is not updated, that is, it is always NULL when inserating an instance of CorrelationLot. I have used index column in many-to-many cases, it works fine. What is wrong with this composition one-to-many case?

Regards,
Rice


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 10, 2004 8:14 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
http://www.hibernate.org/193.html


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

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.