You can disable auto-commit with the Connection class's setAutoCommit method:
conn.setAutoCommit(false);