-->
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: Cloning of a row is goiving error org.hibernate.NonUniqueObj
PostPosted: Sat Jan 11, 2014 10:13 am 
Newbie

Joined: Sat May 04, 2013 3:01 pm
Posts: 2
I'm trying to fetch a Row1 from Table A clone it to create a Row2.
I've used dozer to map the beans.
I've also set the primary key to null.It is an auto increment key with Long type.

Yet i'm getting the following exception.

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session


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.