Re: [hibernate-dev] [OGM] MongoDB safe mode

2012-04-25 Thread Guillaume SCHEIBEL
a JIRA has been created OGM-165 (Add support for the SafeMode) 2012/4/25 Guillaume SCHEIBEL > Emmanuel, we should also add a support of the WriteResult (whether or not > the safemode is set). > What do you think ? > > Guillaume > > 2012/4/25 Guillaume

Re: [hibernate-dev] [OGM] MongoDB safe mode

2012-04-25 Thread Guillaume SCHEIBEL
Emmanuel, we should also add a support of the WriteResult (whether or not the safemode is set). What do you think ? Guillaume 2012/4/25 Guillaume SCHEIBEL > I can take it > > > 2012/4/25 Emmanuel Bernard > >> BTW, by default MongoDB drivers do not wait for the operation to be >> executed on th

Re: [hibernate-dev] [OGM] MongoDB safe mode

2012-04-25 Thread Guillaume SCHEIBEL
I can take it 2012/4/25 Emmanuel Bernard > BTW, by default MongoDB drivers do not wait for the operation to be > executed on the server to return. So you could insert a data that would > fail but not be noticed by the client. > To avoid that, you need to pass the safe=true option. > > I think we

[hibernate-dev] [OGM] MongoDB safe mode

2012-04-25 Thread Emmanuel Bernard
BTW, by default MongoDB drivers do not wait for the operation to be executed on the server to return. So you could insert a data that would fail but not be noticed by the client. To avoid that, you need to pass the safe=true option. I think we should offer an option to be safe. Should it be the