Spring Data Neo4j: why save method takes so long?

て烟熏妆下的殇ゞ 提交于 2019-12-01 10:57:14

It depends on the mapping mode you use, simple mapping is much slower as it has to merge your object graph back to Neo4j. Advanced mapping is much faster as it is a thin layer on top of Neo4j (read and write through).

You should create the transaction on a higher level anyway that spans a business operation.

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