Skip to content

Instantly share code, notes, and snippets.

@gscheibel

gscheibel/mongo.xml

Created Feb 22, 2013
Embed
What would you like to do?
first option to list the writeconcern properties potential values
<row>
<entry>hibernate.ogm.mongodb.writeconcern</entry>
<entry>Defines the write concern setting used to control the
acknowledgment of write operations. You can use: ERRORS_IGNORED,
ACKNOWLEDGED, UNACKNOWLEDGED, FSYNCED, JOURNALED, REPLICA_ACKNOWLEDGED,
NONE, NORMAL, SAFE, MAJORITY, FSYNC_SAFE, JOURNAL_SAFE, REPLICAS_SAFE.
For more information, please refer to the
<ulink href="http://api.mongodb.org/java/current/com/mongodb/WriteConcern.html">official documentation</ulink>
This option is case insensitive and the default value is
<literal>ACKNOWLEDGED</literal></entry>
</row>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment