private static synchronized void startTransaction(Connection C) throws AdeException {
  logger.trace("startTransaction() -->entry");
  try {
    C.setAutoCommit(false);
  }
 catch (  Throwable t) {
    surfaceThrowable("startTransaction() called Connection.setAutocomit()",t);
    throw adeExceptionOf(t);
  }
  logger.trace("startTransaction() <-- exit");
}

private static synchronized void startTransaction ( Connection C ) throws AdeException { logger . trace ( "startTransaction() -->entry" ) ; try { C . setAutoCommit ( false ) ; } catch ( Throwable t ) { surfaceThrowable ( "startTransaction() called Connection.setAutocomit()" , t ) ; throw adeExceptionOf ( t ) ; } logger . trace ( "startTransaction() <-- exit" ) ; }
thin wrapper around jdbc connection . setautocommit ( ) to effectively suspend autocommit processing , allowing for multi - statement transactions . it is offered in this way only to ensure consistent error logging .
