I'm looking for easy-to-use graph DB + ORM solution. The requirements are:
- Fluent Java interfaces, no need to use any XMLs.
- Ease of graph traversal: "give me all entities of these types, starting from this one, traverse only using this set of relation types".
- Full text search out of the box: p.2 + "only consider entities where thi开发者_运维知识库s field contains this text"
- No need to operate on graph level: Neo4j is great, but I'd like to avoid working with
setProperty
/getProperty
directly.
I've already checked these:
- ogrm - not supported anymore.
- jo4neo - looks like doesn't work p.2 and p.3
- Spring Data Graph - seems to be great things, but it's too immature - spent a week trying to make it work fine in Eclipse - no success.
Are there any other similar tools I need to check?
Spring Data Graph is the most actively developed, with a recently released version 1.1.0 and lots of work planned before SpringOne in October.
However, it does create a challenge for IDEs because of the AspectJ enhanced POJOs. Have a look at the documentation for some help getting that going.
Cheers, Andreas
As of January 2015, Hibernate has started supporting neo4j:
http://hibernate.org/ogm/
Obviously, you can't query using hql, but they support using Cypher queries.
There is also the very new spring-data-gremlin which does everything of what you want with the power of spring-data.
It also allows native queries, spatial indexes and a bunch of other cool stuff.
Note: It is quite immature, but still worth a look.
精彩评论