-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: Support of mongodb
PostPosted: Thu Feb 02, 2012 12:07 pm 
Newbie

Joined: Thu Feb 02, 2012 12:01 pm
Posts: 4
Hi,

In the documentation, I didn't see any part talking about the support of mongodb. Am I wrong ? If not is there a project / team who work on this topic ?

Thank you,
Guillaume


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Thu Feb 02, 2012 7:19 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Guillaume,

you're right, MongoDB is not documented because we don't support it yet. We would like to support it, but there are too many NoSQL engines out there and each of them needs to be studied, or have some expertise with. So we hope that community members volunteer to add the integration. We try to make it as easy as possible to add new plugins and extensions, right now we have support for EHCache and Infinispan, if you look into the sources you'll see that each one is implemented in just a couple of classes, also tests are shared across modules.

So if you have some MongoDB experience and you're willing to help, you're very welcome to it. Of course you can have all our help, join us in chat or on the development mailing list http://hibernate.org/community

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Fri Feb 03, 2012 6:37 am 
Newbie

Joined: Thu Feb 02, 2012 12:01 pm
Posts: 4
Hi Sanne,

Thanks for your reply, I think I'm going to develop a mongodb implementation.
To start in "good conditions", should I add a repository to the hibernate-ogm project (forked from github) like the hibernate-ogm-infinispan or should I create an external project which will use hibernate-ogm-core ?

See you,
Guillaume


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Fri Feb 03, 2012 7:31 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Great!

No need to add extra repositories, there are separate Maven modules in the same repository;
if you look at
https://github.com/hibernate/hibernate-ogm

You'll see the 4 main modules:
- hibernate-ogm-core
- hibernate-ogm-documentation
- hibernate-ogm-ehcache
- hibernate-ogm-infinispan

Hibernate-ogm-core containst the complex mappin integration, and you likely won't need to make many changes there; I think you might need to add a couple of lines to have it know about the new mongodb module.

Just create a new hibernate-ogm-mongodb Maven module, and you'll have to implement the same services as was recently done for EHCache;
this was integrated with a single commit, which can serve you as a great example of which steps need to be applied:

https://github.com/hibernate/hibernate- ... a9c75f53c8

For any need, you can meet us on IRC or the dev mailing list of you prefer that over the forums.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Sun Apr 15, 2012 6:14 am 
Newbie

Joined: Sun Apr 15, 2012 6:04 am
Posts: 1
Hi, could you inform me how soon you gonna support mongoDB?
i'm gonna start project soon and i'd like to use it.


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Sun Apr 15, 2012 6:04 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi vachagan,
there is a mongodb branch already on the project's GIT repository:

https://github.com/hibernate/hibernate-ogm

several developers are collaborating on this branch and there is lots of progress, feel free to have a look already, try it and contribute as well ?
Even if you don't want to write code but have time to try it out and provide some feedback, that's very appreciated and useful for us.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Thu Jun 21, 2012 10:22 am 
Newbie

Joined: Wed Jun 20, 2012 5:02 pm
Posts: 1
Hi everybody

I see the last post was in April. What is the status of MongoDB implementation? I am willing to join on this and help.


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Thu Jun 21, 2012 11:28 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Milos,
great to hear that!

MongoDB support was merged in master, and works good enough that you could try it out.

Feel free to fork:
https://github.com/hibernate/hibernate-ogm

Then you could join the hibernate-dev mailing list http://hibernate.org/community/mailinglists , and tell us what you think of it? And of course, patches are welcome.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Mon Jul 23, 2012 6:10 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
MilosStoiljkovic wrote:
Hi everybody

I see the last post was in April. What is the status of MongoDB implementation? I am willing to join on this and help.


Hi Milos, any luck with the source code?
If you're stuck and need help, feel free to ask.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Dumb question about MongoDB support
PostPosted: Sun Jul 29, 2012 9:15 pm 
Newbie

Joined: Sun Jul 29, 2012 8:32 pm
Posts: 2
Hi-

Long time fan of Hibernate and appreciate the work everyone puts into it. I've recently started using MongoDB and the examples I've seen have really sparked my interest in using OGM for some new projects I'm heading up for the company I work for. MongoDB works well but OGM code examples just make a lot of sense since I'm familiar with Hibernate for the RDBS world. My dumb question is if now is a good time to incorporate OGM/MongoDB/Hibernate into a production-level project, or it's better to wait until a stable end-user level release is ready.

I was working on a proof-of-concept demo but it seems like that the directions have you pull in a development snapshot instead of a library you install as a module, so I was a little confused by that.

Appreciate any advice in using it today - I'll be eagerly awaiting a release and maybe I can contribute somehow by using it as an early adoptor in a real-world application if it's too soon at this point.

Thanks again-

Derrick


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Mon Jul 30, 2012 5:06 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Derrick,
thanks for your interest! glad to hear that.
the tags we made last year are early previews, the current state of master is looking very good especially around MongoDB support.

We plan to tag a new version somewhere at the end of next month; I would say it's better than what we would generally label as a beta, still I think we'll flag it as beta as it's the first in a long time and we know most people won't test master. Maybe it should be flagged alpha but we don't feel that's needed.

I wouldn't throw it into production yet, maybe in a month or two, but if you could start testing it today and provide us with feedback that would be highly appreciated. As usual, help is very welcome; this is also a perfect time to join the team of frequent contributors and committers if you want to, but if you don't have time to look into the code even just sharing your use cases or blogging about it would be nice and motivating.

Mapping of any kind of relation and all CRUD operations on MongoDB are stable now in master; support of queries is still poor but the new query language parser is being integrated this week so we expect support for queries in MongoDB to come soon as well; in the meantime simple queries can be implemented using Hibernate Search.

Looking forward to hear about your experiments!

Quote:
but it seems like that the directions have you pull in a development snapshot instead of a library you install as a module, so I was a little confused by that.

I'm sorry I didn't understand this part. For sure if you want to try some version, use version 4.0.0-SNAPSHOT, we update it weekly with fresh builds while the latest v.3 tag is much older.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Support of mongodb
PostPosted: Mon Jul 30, 2012 11:08 am 
Newbie

Joined: Sun Jul 29, 2012 8:32 pm
Posts: 2
Hi Sanne-

Truly appreciate the information - when the beta tag comes out I'll incorporate it and give my feedback on my use cases. I had converted a document-centric application from Hibernate/MySQL to NoSQL, and appreciate the chance to go back to Hibernate for MongoDB.

Thanks again-


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.