If X is a removed entity instance, an IllegalArgumentException will be thrown by the
merge operation (or the transaction commit will fail).
All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.
2 posts • Page 1 of 1
- Posts: 8
- Joined: Sun Dec 20, 2015 6:28 pm
As per section 220.127.116.11 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):
Users browsing this forum: No registered users and 0 guests