rolls back and releases the active connection . concode_field_sep JDBCConnectionPool connectionPool concode_elem_sep Connection activeConnection concode_field_sep Connection getConnection concode_elem_sep void releaseConnection concode_elem_sep void releaseConnection concode_elem_sep boolean isInTransaction concode_elem_sep void beginTransaction concode_elem_sep void commit concode_elem_sep void ensureTransaction
void function ( ) { if ( ! isInTransaction ( ) ) { throw new SQLException ( "srini_string" ) ; } activeConnection . rollback ( ) ; connectionPool . releaseConnection ( activeConnection ) ; activeConnection = null ; }