| Modifier and Type | Method and Description |
|---|---|
org.hibernate.HibernateException |
authenticationFailed(String username) |
void |
cannotUseGivenPrimaryKeyColumnName(String givenKeyColumnName,
String usedKeyColumnName) |
org.hibernate.MappingException |
collectionNameContainsDollarCharacter(String qualifiedName) |
org.hibernate.MappingException |
collectionNameContainsNULCharacter(String qualifiedName) |
org.hibernate.MappingException |
collectionNameHasInvalidSystemPrefix(String qualifiedName) |
void |
connectingToMongo(String host,
int timeout) |
void |
connectingToMongoDatabase(String dbName) |
void |
creatingDatabase(String dbName) |
org.hibernate.HibernateException |
databaseDoesNotExistException(String databaseName) |
void |
disconnectingFromMongo() |
org.hibernate.MappingException |
fieldNameContainsNULCharacter(String fieldName) |
org.hibernate.MappingException |
fieldNameHasInvalidDollarPrefix(String columnName) |
org.hibernate.HibernateException |
mongoDBTimeOutIllegalValue(int timeout) |
org.hibernate.HibernateException |
mongoOnUnknownHost(String hostname) |
void |
removedAssociation(int nAffected) |
org.hibernate.HibernateException |
unableToConnectToDatastore(String host,
Exception e) |
org.hibernate.HibernateException |
unableToDetermineCollectionName(String nativeQuery) |
org.hibernate.HibernateException |
unableToDropDatabase(com.mongodb.MongoException e,
String databaseName) |
org.hibernate.HibernateException |
unableToInitializeMongoDB(RuntimeException e) |
void |
usingWriteConcern(String writeStrategy,
int wtimeout,
boolean fsync,
boolean journaled,
boolean continueOnErrorForInsert) |
ambigiousOptionConfiguration, cannotConvertAnnotation, cannotCreateEntityContextProxy, cannotCreateGlobalContextProxy, cannotCreateNewProxyInstance, cannotCreatePropertyContextProxy, cannotInstantiateGridDialect, cannotLoadLuceneParserBackend, catalogOptionNotSupportedForSequenceGenerator, catalogOptionNotSupportedForTableGenerator, closedOperationQueue, couldNotConfigureProperty, couldNotRetrieveEntityForRetrievalOfGeneratedProperties, createdQuery, dialectDoesNotSupportSequences, getIdentityGenerationStrategyNotSupportedException, getPropertyDoesNotExistException, getUnknownAliasException, getUnsupportedElementTypeException, gridDialectHasNoProperConstructor, illegalDiscrimantorType, illegalPortValue, interruptedBatchIndexing, invalidConfigurationUrl, jbossTransactionManagerDetected, jtaCommitFailed, jtaCouldNotDetermineStatus, jtaRollbackFailed, jtaTransactionBeginFailed, mappingSubtypeNotInterface, missingConfigurationProperty, mustNotBeNull, mustNotInsertSameEntityTwice, noJtaPlatformDetected, notAnInteger, noValidDatastoreProviderShortName, parameterMustNotBeNull, parameterSringMustNotBeEmpty, persistenceXmlNotFoundInClassPath, querySyntaxException, schemaOptionNotSupportedForSequenceGenerator, schemaOptionNotSupportedForTableGenerator, unableToCloseSessionButSwallowingError, unableToConfigureDatastoreProvider, unableToConvertStringToDiscriminator, unableToFindGridType, unableToInstantiateType, unableToLoadClass, unableToLoadContext, unableToMarkTransactionForRollback, unableToParseHost, unableToSetTimeout, unableToStartDatastoreProvider, unexpectedClassType, unexpectedDatastoreProvider, unexpectedInstanceType, unknownAssociationStorageStrategy, unknownEnumerationValue, unsupportedIndexerConfigurationOption, unsupportedLockMode, unsupportedPropertyType, useDatastoreProvider, useGridDialect, usingDefaultTransactionFactory, usingNonAtomicOptimisticLocking, 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 with a timeout set at %2$d millisecond(s)")
void connectingToMongo(String host,
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="Using write concern { w : %s, wtimeout : %s, fsync : %s, journaled : %s, continueOnErrorForInsert : %s } if not explicitly configured otherwise for specific entities")
void usingWriteConcern(String writeStrategy,
int wtimeout,
boolean fsync,
boolean journaled,
boolean continueOnErrorForInsert)
@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")
org.hibernate.HibernateException unableToConnectToDatastore(String host,
@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=1217,
value="The following native query does neither specify the collection name nor is its result type mapped to an entity: %s")
org.hibernate.HibernateException unableToDetermineCollectionName(String nativeQuery)
@LogMessage(level=WARN)
@Message(id=1218,
value="Cannot use primary key column name \'%s\' for id generator, going to use \'%s\' instead")
void cannotUseGivenPrimaryKeyColumnName(String givenKeyColumnName,
String usedKeyColumnName)
@Message(id=1219,
value="Database %s does not exist. Either create it yourself or set property \'hibernate.ogm.datastore.create_database\' to true.")
org.hibernate.HibernateException databaseDoesNotExistException(String databaseName)
@Message(id=1220,
value="When using MongoDB it is not valid to use a name for a table (a collection) which starts with the \'system.\' prefix. Please change name for \'%s\', for example by using @Table ")
org.hibernate.MappingException collectionNameHasInvalidSystemPrefix(String qualifiedName)
@Message(id=1221,
value="When using MongoDB it is not valid to use a name for a table (a collection) which contains the NUL character \'\\0\'. Please change name for \'%s\', for example by using @Table ")
org.hibernate.MappingException collectionNameContainsNULCharacter(String qualifiedName)
@Message(id=1222,
value="When using MongoDB it is not valid to use a name for a table (a collection) which contains the dollar character \'$\'; for example this is a common problem with inner classes. Please pick a valid collection name for \'%s\', for example by using @Table ")
org.hibernate.MappingException collectionNameContainsDollarCharacter(String qualifiedName)
@Message(id=1223,
value="When using MongoDB it is not valid to use a field name which starts with the prefix \'$\'. Please change name for \'%s\', for example by using @Column ")
org.hibernate.MappingException fieldNameHasInvalidDollarPrefix(String columnName)
@Message(id=1224,
value="When using MongoDB it is not valid to use a field name which contains the NUL character \'\\0\'. Please change name for \'%s\', for example by using @Column ")
org.hibernate.MappingException fieldNameContainsNULCharacter(String fieldName)
Copyright © 2010-2015 Hibernate. All Rights Reserved.