@Override public void commit() { if (tx == null) { throw new RuntimeException("No transaction in progress"); } try { tx.commit(); } finally { tx = null; } }
@Override public void commit() { if (tx == null) { throw new RuntimeException("No transaction in progress"); } try { tx.commit(); } finally { tx = null; } }