Question

Hi I have planned to migrate from Hibernate with MySQL to MongoDb

Does any one know eigther Hibernate OGM is good or Spring data or any think else

Était-ce utile?

La solution

Spring Data MongoDB is certainly a very powerful framework to use and one, if you're comfortable with ORM-like tools, makes a lot of sense. The MongoRepository api takes care of all the CRUD boiler plate and the findBy... methods and query helpers reduce a lot of work. Definitely worth looking at.

have a look at the docs for some nice examples and github as well.

Autres conseils

Look at MongoJack http://mongojack.org/

I found it a lot faster and easier to use than Spring Data.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top