-->
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.  [ 3 posts ] 
Author Message
 Post subject: Detached object: merge(), remove()
PostPosted: Thu Sep 21, 2006 5:16 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
I'm using JBoss 4.0.5CR1 with EJB3 RC9. I get an IllegalArgumentException When I invoke merge() or delete() for a detached object.

This semantics is new since RC9. Is this intended or a bug? Any hint is appreciated!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 22, 2006 3:45 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
delete on a detached object is illegal
merge on a detached object should work (that's the goal).
However, check http://opensource.atlassian.com/projects/hibernate/browse/EJB-221

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 23, 2006 1:17 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
Quote:
delete on a detached object is illegal

OK

Quote:
merge on a detached object should work (that's the goal).

Tried it with JBoss 4.0.5CR1 and EJB CR9: works the same was as CR8.

Thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.