public abstract class MongoDBEntityContextImpl extends DocumentStoreEntityContextImpl<MongoDBEntityContext,MongoDBPropertyContext> implements MongoDBEntityContext
| Constructor and Description |
|---|
MongoDBEntityContextImpl(ConfigurationContext context) |
| 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. |
associationStorageaddEntityOption, addGlobalOption, addPropertyOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociationStorageentity, propertypublic MongoDBEntityContextImpl(ConfigurationContext context)
public MongoDBEntityContext writeConcern(WriteConcernType concern)
MongoDBEntityContextMongoDBProperties.WRITE_CONCERN. Define the write concern typewriteConcern in interface MongoDBEntityContextpublic MongoDBEntityContext associationDocumentStorage(AssociationDocumentType associationDocumentStorage)
MongoDBEntityContextAssociationStorageType.ASSOCIATION_DOCUMENT.associationDocumentStorage in interface MongoDBEntityContextassociationDocumentStorage - the association document type to be used when not configured the property levelCopyright © 2010-2014 Hibernate. All Rights Reserved.