| Author |
org.hibernate.NonUniqueObjectException
|
Singh Harmeet
Ranch Hand
Joined: Aug 05, 2011
Posts: 114
|
|
i was try to generate the org.hibernate.NonUniqueObjectException exception , but there is not exception generated . there is follwing code
|
With Regards :-
Harmeet Singh
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
You cannot have 2 objects with the same persistent id in the context at the same time or you get this exception. In your example this does not happen.
Here is a blog that explains it a bit
http://kousikraj.wordpress.com/2010/12/31/hibernate-non-unique-object-exception/
|
[How To Ask Questions][Read before you PM me]
|
 |
 |
|
|
subject: org.hibernate.NonUniqueObjectException
|
|
|