Reputation: 16253
OrientDB seems promising. Is there any well-written generic DAO for accessing the graph API? There are some snippets here and there in this page but no concrete GenericDAO class implemented.Writing it is not a major problem. I was just checking if there is already something implemented.
Upvotes: 2
Views: 524
Reputation: 2658
This is a pretty old question, but I thought I would introduce spring-data-gremlin as a solution which uses both Tinkerpop and Spring Data to solve this issue.
Upvotes: 0
Reputation: 12859
A classical DAO pattern is used to abstract away the low level (database) details for the business layer. It is mainly used in the context of CRUD based applications using a RDBMS.
Because a Graph Database is a different beast, typically used in different contexts, i do no think a DAO pattern is a good fit for it. However, an abstraction layer might be a good decision depending on you use case. There are two good examples of such abstraction layers for Graph Databases:
Upvotes: 1