Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORM tools/framework regarding mongodb for Java

is there any ORM tool/framework for mongoDB with java and also support maven, so that it will be helpful to apply constraints, use of cursers in database operations?

like image 575
Darshan Patil Avatar asked Dec 28 '11 07:12

Darshan Patil


People also ask

Is there an ORM for MongoDB?

Using MongoDB removes the complex object-relational mapping (ORM) layer that translates objects in code to relational tables. MongoDB's flexible data model also means that your database schema can evolve with business requirements.

Does Java have an ORM?

There are several persistent frameworks and ORM options in Java. A persistent framework is an ORM service that stores and retrieves objects into a relational database.

What does ORM stand for which ORM do we use when interacting with MongoDB?

Object-relational mapping (ORM) techniques make it easier to work with relational data sources and can bridge your logical business model with your physical storage model. Follow this tutorial to integrate connectivity to MongoDB data into a Java-based ORM framework, Hibernate.

Can you use MongoDB with Java?

Before you start using MongoDB in your Java programs, you need to make sure that you have MongoDB CLIENT and Java set up on the machine. You can check Java tutorial for Java installation on your machine. Now, let us check how to set up MongoDB CLIENT. You need to download the jar mongodb-driver-3.11.


2 Answers

There are some. Start reading:

http://www.mongodb.org/display/DOCS/Java+Language+Center

As for maven support, just look up libraries in mvnrepository.com ( most of them will be there )

like image 61
Konstantin Pribluda Avatar answered Oct 13 '22 09:10

Konstantin Pribluda


This is what you need: http://www.infoq.com/articles/mongodb-java-orm-bcd It is maven-based.

like image 25
MohsenIT Avatar answered Oct 13 '22 10:10

MohsenIT