public HeuristicMessage[] commit ( boolean onePhase )
throws HeurRollbackException, HeurHazardException,
HeurMixedException, RollbackException, SysException
{
if ( recovered )
throw new HeurRollbackException ( getHeuristicMessages () );
try {
connection.transactionTerminated ( true );
} catch ( Exception e ) {
Configuration.logWarning ( "Error in non-XA commit", e );