Exemple #1
0
 void releaseResourceConnectionsForTransaction(Transaction tx, TransactionState state)
     throws NotInTransactionException {
   ResourceHolder resource = state.getNeoStoreTransaction();
   if (resource != null) {
     resource.destroy();
   }
 }
Exemple #2
0
 @Override
 public void beforeCompletion() {
   resourceHolder.delist();
 }