question: private static synchronized void endTransaction ( Connection C , boolean successful ) throws AdeException { logger . trace ( "endTransaction() -->entry" ) ; try { if ( successful ) { C . commit ( ) ; } else { C . rollback ( ) ; } C . setAutoCommit ( true ) ; } catch ( Throwable t ) { surfaceThrowable ( "endTransaction() invoked Connection method" , t ) ; throw adeExceptionOf ( t ) ; } logger . trace ( "endTransaction() <-- exit" ) ; }
target:  Thin wrapper around JDBC Connection.setAutoCommit() to effectively resuming autocommit processing, allowing for multi-statement transactions.  It is offered in this way only to ensure consistent error logging.