With OGM-208 in place, we can make use of the new configuration facility and see how it works out in practice. A good candidate might be the write concern setting for which we already have the required option class and annotation.
The MongoDB dialect should take the setting - either given globally or per entity - into account when executing writes. Given on the property level, the setting only makes sense for properties representing associations, which are stored in a separate association document.
|