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