List of usage examples for javax.transaction Synchronization beforeCompletion
public void beforeCompletion();
From source file:org.hibernate.shards.transaction.ShardedTransactionImpl.java
private void beforeTransactionCompletion() { if (synchronizations != null) { for (Synchronization sync : synchronizations) { try { sync.beforeCompletion(); } catch (Throwable t) { log.warn("exception calling user Synchronization", t); }//from www. ja v a2s.c o m } } }