如何支持Neo4j Rest中的事务 [英] How to support Transactions in Neo4j Rest
问题描述
我们使用数据库Neo4j构建Grails应用程序,并且使用Spring Data Neo4j rest,
根据任何应用程序的要求,它应该提供Transaction的功能。但是使用Neo4j当我们在执行代码时保存节点和异常,那么节点就是保存,但它的关系不会保存
如何解决这个问题???
我们可以使用Spring Transaction Management或其他东西吗?
过去,Neo4j-REST API的缺点是不公开交易。 b
在下一个里程碑版本3.3.0.M01中,我们将使用Cypher事务端点添加对远程事务的支持。请尝试使用该版本然后回报。
We build a Grails Application using the database Neo4j ,And We used Spring Data Neo4j rest , As per the requirement of any Application , it should provide the facility of Transaction . But using Neo4j When we save a Node and Exception occur in executing the code then the node is save but its relationship is not save How to resolve this problem ??? Can we use Spring Transaction Management or any other thing ???
In the past it was a shortcoming of the Neo4j-REST APIs to not expose transactions.
In the next milestone build 3.3.0.M01 we'll add support for remote transactions using the Cypher transactional endpoint. Please try with that version then and report back.
这篇关于如何支持Neo4j Rest中的事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!