No better way to understand database transactions in Java
ibm.com