[hibernate-dev] [OGM] [MongoDB] Extended connection options support
Emmanuel Bernard
emmanuel at hibernate.org
Wed May 2 08:00:46 EDT 2012
It looks like there is about a dozen properties. Note that Hibernate OGM already knows some of them like timeout. But still there are a bunch of properties. We could go the classical way and offer one Hibernate OGM property per MongoDB property or we could simply let the user pass the JSON structure
hibernate.ogm.mongodb.driver.properties = { safe:true, fsync:true }
What do you think would be best?
On 26 avr. 2012, at 19:22, Guillaume SCHEIBEL wrote:
> Hi guys,
>
> I've just made a pull request about OGM-165 (add support for the safe mode
> connection) and I was wondering why don't provide a extended support for
> all options like the safe mode.
> All options are described here :
> http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html
>
> What do you think ?
>
> Guillaume
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list