1

I'new to NEO4J and working around Neo4J OGM, to my understanding this is the framework that is associated with Spring Data Neo4j. There's, however, Hibernate OGM, also supporting Neo4J. Is anyone aware of the differences between the two, or can point to a comparison article?

garfield
  • 571
  • 9
  • 21
  • Check this question: https://stackoverflow.com/questions/23163853/whats-the-difference-between-spring-data-mongodb-and-hibernate-ogm-for-mongodb/40548118#40548118 The question in the link refers to MongoDB but the answers can be applied to your question as well (I think). – Davide D'Alto Apr 20 '18 at 10:34

1 Answers1

0

Hibernate Object/Grid Mapper (OGM) adds Java Persistence API (JPA) to NoSQL databases. I use OGM with MongoDB and it works very well on JBoss WildFly 12.0.0.Final.

This is the page I refer to a lot:

Hibernate OGM 5.3.1.Final: Reference Guide

See section 11. "11. Neo4j"

Neo4j is a robust (fully ACID) transactional property graph database. This kind of databases are suited for those type of problems that can be represented with a graph like social relationships or road maps for example.

NOTiFY
  • 1,255
  • 1
  • 20
  • 36
  • I'm well aware of the references. I expect an answer from someone who has gone through the pain of using both Neo4J OGM and Hibernate OGM with Neo4J, in practice and has drawn some lessons from it. – garfield Apr 20 '18 at 15:04
  • Why burden yourself with Spring Data Neo4j unless you're already using Spring. – NOTiFY Apr 21 '18 at 17:34