How are transactions managed in JDBC?
When using JDBC, we have two options: we can either let the JDBC driver implementation handle the transaction automatically by committing the transaction right after execution of each statement, or we can handle the transaction manually by starting the transaction and then committing it when we see fit. Note that autocommit is on by default according to the JDBC specification.
Related Questions
- How do I set the Transaction Isolation level for Container Managed Transactions in OC4J? Which isolation levels are supported?
- Are money transactions managed by ZAPPĀ® (such as application fees, booth fees, electrical, etc.) secure?
- How are transactions managed by The Investment Performance Calculator?