Database Error Messages

ORA-17121

Cannot rollback to savepoint with auto-commit enabled.

Cause

Auto-commit mode is enabled on the database connection.


Action

Disable auto-commit mode by calling conn.setAutoCommit(false).