public class Neo4jJtaTransactionCoordinator extends ForwardingTransactionCoordinator
TransactionCoordinator for Neo4j to join a JTA transaction.
Note that during a JTA transaction Neo4j Transaction are
synchronized using the Synchronization interface. A commit to the Neo4j transaction will happen before the
end of the JTA transaction, meaning that it won't be possible to rollback if an error happens after a successful commit
to the db.delegate| Constructor and Description |
|---|
Neo4jJtaTransactionCoordinator(org.hibernate.resource.transaction.TransactionCoordinator delegate,
Neo4jDatastoreProvider graphDb) |
| Modifier and Type | Method and Description |
|---|---|
void |
explicitJoin() |
void |
pulse() |
addObserver, createIsolationDelegate, getLocalSynchronizations, getTimeOut, getTransactionCoordinatorBuilder, getTransactionDriverControl, isActive, isJoined, removeObserver, setTimeOutpublic Neo4jJtaTransactionCoordinator(org.hibernate.resource.transaction.TransactionCoordinator delegate,
Neo4jDatastoreProvider graphDb)
public void explicitJoin()
explicitJoin in interface org.hibernate.resource.transaction.TransactionCoordinatorexplicitJoin in class ForwardingTransactionCoordinatorpublic void pulse()
pulse in interface org.hibernate.resource.transaction.TransactionCoordinatorpulse in class ForwardingTransactionCoordinatorCopyright © 2010–2016 Hibernate. All rights reserved.