Neo4j + Jotm 迁移,缺少交易 classes/interfaces

Neo4j + Jotm migration, absent transaction's classes/interfaces

我正在使用 Neo4j 1.8.9 + Jotm 和 ALRubinger 的解决方案:How to enlist XAResource with existing Transaction?,一切正常,但几天前我开始迁移到 Neo4j 2.2.1 并遇到了下一个问题 - neo4j -kernel.jar 没有了: TransactionManagerProvider、AbstractTransactionManager、TransactionStateFactory

类从2.1.8版本中删除,我尝试使用 Spring Data Neo4j » 3.3.0.RELEASE 但他们使用的是 neo4j-kernel 2.1.7,它与我之前的实现相同。

他们把所有 classes/interfaces 都搬到哪里去了?另一个罐子?更简单的解决方案?

JTA 作为内部实现细节已在 Neo4j 中删除,引用自 release notes:

The use of separate transactions logs for the graph and the indexes, co-ordinated by an XA system, has been replaced by a singular transactional management and one unified transaction log. This substantially reduces resource overhead and improves scalability. Note that as result of this, the previously exposed XA and JTA functionalities have been removed.