If X is a removed entity instance, an IllegalArgumentException will be thrown by the
merge operation (or the transaction commit will fail).
About Question enthuware.oce-jpad.v6.2.455 :
Moderators: Site Manager, fjwalraven
-
- Posts: 8
- Joined: Sun Dec 20, 2015 6:28 pm
- Contact:
About Question enthuware.oce-jpad.v6.2.455 :
As per section 3.2.7.1 it is not guaranteed that an IllegalArgumentException will be thrown in Line 4. Execution might also just continue and result in a transaction rollback when a commit is attempted (and print "false" (i.e. option 2) before that as per seciton 3.2.8):
-
- Site Admin
- Posts: 10387
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.2.455 :
You are right. Fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: Bing [Bot] and 12 guests