[jboss-dev-forums] [EJB3 Development] - Re: EntityManager.remove() throws java.lang.IllegalArgumentException: Removing a detached instance ?

Philani Dlamini do-not-reply at jboss.com
Wed Mar 30 02:46:17 EDT 2011


Philani Dlamini [http://community.jboss.org/people/philani] created the discussion

"Re: EntityManager.remove() throws java.lang.IllegalArgumentException: Removing a detached instance ?"

To view the discussion, visit: http://community.jboss.org/message/596422#596422

--------------------------------------------------------------
try calling merge(). You entity is not being managed by EntityManager anymore.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/596422#596422]

Start a new discussion in EJB3 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110330/a3286645/attachment.html 


More information about the jboss-dev-forums mailing list