| Modifier and Type | Method and Description |
|---|---|
org.hibernate.HibernateException |
authenticationFailed(String username) |
void |
connectingToMongo(String host,
int port,
int timeout) |
void |
connectingToMongoDatabase(String dbName) |
void |
creatingDatabase(String dbName) |
void |
disconnectingFromMongo() |
org.hibernate.HibernateException |
mongoDBTimeOutIllegalValue(int timeout) |
org.hibernate.HibernateException |
mongoOnUnknownHost(String hostname) |
void |
removedAssociation(int nAffected) |
org.hibernate.HibernateException |
requireMetadatas() |
org.hibernate.HibernateException |
unableToConnectToDatastore(String host,
int port,
Exception e) |
org.hibernate.HibernateException |
unableToDropDatabase(com.mongodb.MongoException e,
String databaseName) |
org.hibernate.HibernateException |
unableToInitializeMongoDB(RuntimeException e) |
org.hibernate.HibernateException |
unableToSetWriteConcern(String value) |
void |
useWriteConcern(String writeConcern) |
ambigiousOptionConfiguration, cannotConvertAnnotation, cannotCreateEntityContextProxy, cannotCreateGlobalContextProxy, cannotCreateNewProxyInstance, cannotCreatePropertyContextProxy, cannotInstantiateGridDialect, closedOperationQueue, couldNotRetrieveEntityForRetrievalOfGeneratedProperties, createdQuery, getPropertyDoesNotExistException, getUnsupportedElementTypeException, gridDialectHasNoProperConstructor, illegalDiscrimantorType, illegalPortValue, interruptedBatchIndexing, invalidConfigurationUrl, jtaCommitFailed, jtaCouldNotDetermineStatus, jtaRollbackFailed, jtaTransactionBeginFailed, mappingSubtypeNotInterface, missingConfigurationProperty, notAnInteger, persistenceXmlNotFoundInClassPath, querySyntaxException, unableToConvertStringToDiscriminator, unableToInitializeInfinispan, unableToInstantiateType, unableToLoadClass, unableToLoadContext, unableToMarkTransactionForRollback, unableToSetTimeout, unexpectedClassType, unexpectedDatastoreProvider, unexpectedInstanceType, unknownAssociationStorageStrategy, unknownEnumerationValue, unsupportedIndexerConfigurationOption, unsupportedPropertyType, useDatastoreProvider, useGridDialect, usingDefaultTransactionFactory, versiondebug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv@LogMessage(level=INFO)
@Message(id=1201,
value="Connecting to MongoDB at %1$s:%2$d with a timeout set at %3$d millisecond(s)")
void connectingToMongo(String host,
int port,
int timeout)
@LogMessage(level=INFO)
@Message(id=1202,
value="Closing connection to MongoDB")
void disconnectingFromMongo()
@Message(id=1203,
value="Unable to find or initialize a connection to the MongoDB server")
org.hibernate.HibernateException unableToInitializeMongoDB(@Cause
RuntimeException e)
@Message(id=1205,
value="Could not resolve MongoDB hostname [%s]")
org.hibernate.HibernateException mongoOnUnknownHost(String hostname)
@LogMessage(level=INFO)
@Message(id=1206,
value="Mongo database named [%s] is not defined. Creating it!")
void creatingDatabase(String dbName)
@LogMessage(level=INFO)
@Message(id=1207,
value="Connecting to Mongo database named [%s].")
void connectingToMongoDatabase(String dbName)
@Message(id=1209,
value="The database named [%s] cannot be dropped")
org.hibernate.HibernateException unableToDropDatabase(@Cause
com.mongodb.MongoException e,
String databaseName)
@LogMessage(level=TRACE)
@Message(id=1210,
value="Removed [%d] associations")
void removedAssociation(int nAffected)
@LogMessage(level=INFO)
@Message(id=1211,
value="The configuration property \'hibernate.ogm.mongodb.write_concern\' is set to %s")
void useWriteConcern(String writeConcern)
@Message(id=1213,
value="MongoDB authentication failed with username [%s]")
org.hibernate.HibernateException authenticationFailed(String username)
@Message(id=1214,
value="Unable to connect to MongoDB instance %1$s:%2$d")
org.hibernate.HibernateException unableToConnectToDatastore(String host,
int port,
@Cause
Exception e)
@Message(id=1215,
value="The value set for the configuration propertyhibernate.ogm.mongodb.connection_timeout must be a number greater than 0. Found \'[%s]\'.")
org.hibernate.HibernateException mongoDBTimeOutIllegalValue(int timeout)
@Message(id=1216,
value="\'%s\' cannot be set as an available value for hibernate.ogm.mongodb.write_concern you must choose between [ACKNOWLEDGED, ERRORS_IGNORED, FSYNC_IGNORED, UNACKNOWLEDGED, FSYNCED, JOURNALED, REPLICA_ACKNOWLEDGED,NONE, NORMAL, SAFE, MAJORITY, FSYNC_SAFE, JOURNAL_SAFE, REPLICAS_SAFE]")
org.hibernate.HibernateException unableToSetWriteConcern(String value)
@Message(id=1217,
value="The result of a native query in MongoDB must be mapped by an entity")
org.hibernate.HibernateException requireMetadatas()
Copyright © 2010-2014 Hibernate. All Rights Reserved.