@ Override public void rollback ( ) throws SQLException { checkClosed ( ) ; if ( props . getProperty ( ROLLBACK_THROW_EXCEPTION , "true" ) . equalsIgnoreCase ( "true" ) ) { throw SQLError . noSupport ( ) ; } }
Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object .