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