private void commitLocalTransaction() throws CommitFailedException {
  if (_tx == null) {
    return;
  }
  if (_logger.isLoggable(Level.FINEST)) {
    _logger.log(Level.FINEST,"Committing local transaction: " + _tx);
  }
  try {
    _tx.commit();
  }
 catch (  Exception e) {
    if (_logger.isLoggable(Level.SEVERE)) {
      _logger.log(Level.SEVERE,"Failed to commit local transaction: " + _tx,e);
    }
    throw new CommitFailedException(e);
  }
}

private void commitLocalTransaction ( ) throws CommitFailedException { if ( _tx == null ) { return ; } if ( _logger . isLoggable ( Level . FINEST ) ) { _logger . log ( Level . FINEST , "Committing local transaction: " + _tx ) ; } try { _tx . commit ( ) ; } catch ( Exception e ) { if ( _logger . isLoggable ( Level . SEVERE ) ) { _logger . log ( Level . SEVERE , "Failed to commit local transaction: " + _tx , e ) ; } throw new CommitFailedException ( e ) ; } }
commits the local transaction .
