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