|
We can tie the Hibernate and JTA transaction to the internal Neo4J transaction API more or less like we do for the compensation API. It won't be 2PC not as safe as a proper JTA integration but that's would do the job. One trick will be to start the Neo4J internal transaction upon the first Neo4J operation and we are within a Hibernate or JTA transaction umbrella as I am not sure we are notified of "transaction start" when users start the JTA transaction implicitly.
|