Are you using an
EJB container to create your data access / persistence classes? (i.e. entity beans , session beans)
Or are you writing a stand-alone
JDBC application?
For instance, if you are using an EJB container, the transactions are managed by the EJB container itself. The transactions are usually declared in the deployment descriptors at deploy time, rather than within your application code itself.
However, if you are writing a stand-alone JDBC application, you will need to manage the transactions manually, including roll-backs upon exceptions.
You can find more info @
http://www.javaworld.com/javaworld/jw-07-2000/jw-0714-transaction.html
SCJP,SCJD SCEA, SCWCD, SCBCD<br />OCP DBA 8i / 9i<br />CISSP, PMP, PHR<br />CCNA, CCDA <br /><a href="http://www.certgear.com" target="_blank" rel="nofollow">http://www.certgear.com</a>