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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


_______________________________________________
hibernate-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to