You should be using interface java.sql.Connection, right? Check the java api at sun.com, you will find these methods:
1. getAutoCommit(): Gets the current auto-commit state.
2. setAutoCommit(boolean autoCommit): Sets this connection's auto-commit mode.
1. getAutoCommit(): Gets the current auto-commit state.
2. setAutoCommit(boolean autoCommit): Sets this connection's auto-commit mode.