How to support Transactions in Neo4j Rest

Deadly 提交于 2019-12-12 01:56:29

问题


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 ???


回答1:


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.



来源:https://stackoverflow.com/questions/26381842/how-to-support-transactions-in-neo4j-rest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!