Skip to Main Content
VisualAge for Java Version 3: Persistence Builder with GUIs, Servlets, and Java Server Pages
book

VisualAge for Java Version 3: Persistence Builder with GUIs, Servlets, and Java Server Pages

by Ueli Wahli, Greg Behrend, Daniel Peter
March 2000
Beginner to intermediate content levelBeginner to intermediate
472 pages
11h 17m
English
IBM Redbooks
Content preview from VisualAge for Java Version 3: Persistence Builder with GUIs, Servlets, and Java Server Pages
Chapter 8. Transactions 137
When the commit method of transaction T1_1 is called a
VapMergeFailureException is thrown. The VapMergeFailureException tells
youinthiscontext,thattheobjectversion(letuscallitV1_1)oftransaction
T1_1cannot be merged tothe parent transactionT1’s object version (V1). The
reason is that V1_1 was copied on read from V1, and in the mean time V1 has
changed. It does not matter how the changes got to V1, whether it was
directly changed in transaction T1 (like in our sample) or whether another
sibling child transaction merged its version first. This is what is called
conflict detection. In a real application, you would either display an
instructional message to the user or implement your own conflict resolution.
To implement your o ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pure Java Server Pages™

Pure Java Server Pages™

James Goodwill
WebSphere Application Server - Express: A Development Example for New Developers

WebSphere Application Server - Express: A Development Example for New Developers

Moore William, Mark Buensalido, Gwendolyn Gaumond, Bo Gong, Ilaria Gorla, Doug Grove, Stelios Psarras, Pasi Valjus, Ryan Karchner
Enterprise Java Programming with IBM WebSphere

Enterprise Java Programming with IBM WebSphere

Peter M. Jakab, Russell Stinehour, Kyle Brown, Jim Amsden, David Pitt, Gary Craig, Mark Weitzel, Greg Hester, Daniel Berg

Publisher Resources

ISBN: 0738415820Purchase bookAdditional Material