Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Prepersist ISSUE with merge(when creating a new entity).
Prepersist ISSUE with merge(when creating a new entity). [message #1359565] Fri, 16 May 2014 11:50 Go to next message
Dan Cebotarenco is currently offline Dan CebotarencoFriend
Messages: 2
Registered: May 2014
Junior Member
I have created an issue for this . please take a look may you have a solution

https://bugs.eclipse.org/bugs/show_bug.cgi?id=435044
Re: Prepersist ISSUE with merge(when creating a new entity). [message #1360044 is a reply to message #1359565] Fri, 16 May 2014 16:28 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
This isn't a bug, as the prepersist is correctly being called on the managed entity, and then the merge is applied. The problem with your test case is that you are modifying a relationship in the prepersist: the change is overriden by the merge process because the relationship is null in the entity you are using for the merge.
Previous Topic:readonly query and mix isolated and shared cache types
Next Topic:Problem persisting without cascade
Goto Forum:
  


Current Time: Fri Apr 26 08:19:14 GMT 2024

Powered by FUDForum. Page generated in 0.03032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top