Skip to content

Instantly share code, notes, and snippets.

@gscheibel
Created February 22, 2013 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gscheibel/5012033 to your computer and use it in GitHub Desktop.
Save gscheibel/5012033 to your computer and use it in GitHub Desktop.
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