public interface MongoDBGlobalContext extends DocumentStoreGlobalContext<MongoDBGlobalContext,MongoDBEntityContext>
| Modifier and Type | Method and Description |
|---|---|
MongoDBGlobalContext |
associationDocumentStorage(AssociationDocumentType associationDocumentStorage)
Specifies how association documents should be persisted.
|
MongoDBGlobalContext |
writeConcern(WriteConcernType concern)
Note: This is not implemented yet! You can specify a globally applying write-concern via
MongoDBProperties.WRITE_CONCERN. |
associationStorageentityMongoDBGlobalContext writeConcern(WriteConcernType concern)
MongoDBProperties.WRITE_CONCERN. Define the write concern typeMongoDBGlobalContext associationDocumentStorage(AssociationDocumentType associationDocumentStorage)
AssociationStorageType.ASSOCIATION_DOCUMENT.associationDocumentStorage - the association document type to be used when not configured on the entity or
property levelCopyright © 2010-2014 Hibernate. All Rights Reserved.