-->
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: More than one row ...
PostPosted: Thu Sep 08, 2005 6:19 am 
Newbie

Joined: Thu Sep 08, 2005 5:29 am
Posts: 10
I' ve got an HibernateException : More than one row with the given identifier and an error with a persistent collection : Failed to lazy-initalise a collection, if you have any idea ...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 4:55 pm 
Senior
Senior

Joined: Tue Jan 11, 2005 5:03 pm
Posts: 137
Location: Montreal, Quebec
More than one row with the given identifier. It could be that your primary key definition in your XML mapping can retrieve more than one record for your key. If not already done, try to create a UNIQUE index based on your primary key definition. You will have the confirmation that your key in not correcly defined.

You didn't give a lot of information about your problem.

Etienne.


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.