6768697071727374757677
con.rollback(); con.setAutoCommit(true); releaseCommunicationChannel(true); } catch (Exception e) { e.printStackTrace(); throw new TransactionException("EXC_CANCELAR_TRANSACAO"); } finally { try { notifyAll(); } catch (Exception e) { e.printStackTrace();
112113114115116117118119120121
con.commit(); con.setAutoCommit(true); releaseCommunicationChannel(true); } catch (Exception e) { e.printStackTrace(); throw new TransactionException("EXC_CONFIRMAR_TRANSACAO"); } finally { notifyAll(); } }
236237238239240241242243
} Connection con = (Connection) getCommunicationChannel(true); con.setAutoCommit(false); } catch (Exception e) { e.printStackTrace(); throw new TransactionException("EXC_INICIAR_TRANSACAO"); } }