mongodb to java integration

mongodb to java integration  using -'hibernate,mongodb,jpa,nosql,hibernate-ogm'

We am trying to convert our old Oracle sql application into NO-SQL and we have chosen Mongo DB.

Are there any ORM support for Mongo DB like Hibernate that reduces our coding?

Can we use JPA specification to build an application for Mongo DB ?

If JPA, which ORM Vendor is best to choose and why ?

Have they come up with no-sql dialect for Mongo DB so that we can build an application using a non relational DB ?

asked Oct 19, 2015 by akhilesh
0 votes
1 view

3 Answers

0 votes

DataNucleus JPA provides full persistence to MongoDB using real JPA (as opposed to Spring-Data, Morphia etc which have their own APIs, hence you don't have direct portability - but that may not be your prime concern); in the case of DataNucleus it provides JPA2 (with some preview JPA2.1 features). It also provides JPA persistence to HBase, RDBMS, NeoDatis, Excel, ODF, XML, JSON, LDAP and some others in case you ever need portability to those.

answered Oct 19, 2015 by vimaldas2005
0 votes

You can choose Morphia. It is the most stable one over other ORM tools for Mongodb.

Some of the other tools are :

You can find the full list in the MongoDB Third Party Frameworks and Libs part.

answered Oct 19, 2015 by vickeykumar66
0 votes

PlayORM also supports MongoDB now. PlayORM is an object NoSQL mapping solution so you can write POJO’s and let it deal with all the details of marshalling/unmarshalling to MongoDB. Visit its documentation here

answered Oct 19, 2015 by dahiyabecomp