arangodb / arangodb-java-driver

The official ArangoDB Java driver.
Apache License 2.0
202 stars 94 forks source link

Provide a JPA-based ORM implementation #172

Open haqer1 opened 6 years ago

haqer1 commented 6 years ago

The following might influence some people's choice of which NoSQL approach they choose: https://wiki.eclipse.org/EclipseLink/Examples/JPA/NoSQL Some kind of ORM implementation or contribution to an ORM framework for ArangoDB would make it much more appealing.

P.S. Since they've managed to do this for MongoDB, which doesn't have a QL, it should be very much doable for ArangoDB.

haqer1 commented 6 years ago

Other options for providing an ORM implementation could be the following:

  1. http://hibernate.org/ogm/
  2. https://github.com/Impetus/Kundera

If this is something that's going to be considered, a mention of an approximate timeframe expectation would be quite appreciated.

mvollmary commented 6 years ago

@haqer1 Thanks for your feedback.

We're internally discussing regularly about supporting different ORMs. So far we provide support for Spring Data. Other may follow but I can neither guarantee it nor give it an appointment.

haqer1 commented 6 years ago

Considering various possibilities, I've made the subject line a bit more specific.

P.S. Perhaps other possibilities could be considered separately. For instance, a JDO-based ORM implementation as part of, e.g., http://www.datanucleus.org/products/accessplatform_3_2/index.html could be considered as well. P.P.S. FYI: MongoDB is supported by DataNucleus JDO/JPA implementation, which again suggests that in principle ArangoDB support can be added as well.

otaviojava commented 6 years ago

Nice, we in Eclipse JNoSQL are working to make support to Aranbodb also:

http://www.jnosql.org/

DDOUP commented 6 years ago

@otaviojava Is your driver support production ready or still under development?

otaviojava commented 6 years ago

The project still in development, however, both the API is pretty stable, and we seek to success case. We already have some, yet, none with ArangoDB. The target of this project is a spec to Java, so the package will change, however, the name is defined yet.

I wrote an article about it: https://dzone.com/articles/arangodb-a-multi-model-nosql-database-and-how-to-u