| Modifier and Type | Method and Description |
|---|---|
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) |
org.hibernate.HibernateException |
constraintViolationForEntity(EntityKey entityKey,
String message,
Exception cause) |
org.hibernate.HibernateException |
constraintViolationOnFlush(String message,
Exception cause) |
void |
creatingDatabase(String dbName) |
org.hibernate.HibernateException |
databaseDoesNotExistException(String databaseName) |
void |
disconnectingFromMongo() |
org.hibernate.MappingException |
fieldNameContainsNULCharacter(String fieldName) |
org.hibernate.MappingException |
fieldNameHasInvalidDollarPrefix(String columnName) |
void |
indexNameIsEmpty(String collection) |
void |
indexOptionReferencingNonExistingIndex(String collection,
String forIndex) |
org.hibernate.HibernateException |
invalidOptionsFormatForIndex(String collection,
String indexName,
Exception e) |
void |
noValidKeysForIndex(String collection,
String indexName) |
org.hibernate.HibernateException |
readQueryMustBeExecutedViaGetResultList(MongoDBQueryDescriptor queryDescriptor) |
void |
removedAssociation(int nAffected) |
org.hibernate.HibernateException |
unableToConnectToDatastore(String message,
Exception e) |
org.hibernate.HibernateException |
unableToCreateIndex(String collection,
String indexName,
Exception e) |
org.hibernate.HibernateException |
unableToCreateTextIndex(String collection,
String newIndexName,
String existingIndexName) |
org.hibernate.HibernateException |
unableToDetermineCollectionName(String nativeQuery) |
org.hibernate.HibernateException |
unableToDropDatabase(com.mongodb.MongoException e,
String databaseName) |
org.hibernate.HibernateException |
unableToInitializeMongoDB(RuntimeException e) |
org.hibernate.HibernateException |
unableToInvokeMethodViaReflection(String clazz,
String method) |
org.hibernate.HibernateException |
updateQueryMustBeExecutedViaExecuteUpdate(MongoDBQueryDescriptor queryDescriptor) |
org.hibernate.HibernateException |
writeConcernDeprecated(String writeConcern) |
ambigiousOptionConfiguration, cannotConvertAnnotation, cannotCreateEntityContextProxy, cannotCreateGlobalContextProxy, cannotCreateNewProxyInstance, cannotCreatePropertyContextProxy, cannotFindEntityEntryForEntity, cannotFindTypeForAttributeConverter, cannotInstantiateGridDialect, cannotLoadLuceneParserBackend, catalogOptionNotSupportedForSequenceGenerator, catalogOptionNotSupportedForTableGenerator, closedOperationQueue, couldNotConfigureProperty, couldNotRetrieveEntityForRetrievalOfGeneratedProperties, createdQuery, dialectDoesNotSupportSequences, entityTupleNotFound, errorOnEntityBatchLoad, failureWhenUsingAttributeConverter, getIdentityGenerationStrategyNotSupportedException, getPropertyDoesNotExistException, getUnknownAliasException, getUnsupportedElementTypeException, gridDialectHasNoProperConstructor, illegalDiscrimantorType, illegalPortValue, interruptedBatchIndexing, invalidConfigurationUrl, jbossTransactionManagerDetected, jtaCommitFailed, jtaCouldNotDetermineStatus, jtaRollbackFailed, jtaTransactionBeginFailed, mappingSubtypeNotInterface, missingConfigurationProperty, mustNotBeNull, mustNotInsertSameEntityTwice, noJtaPlatformDetected, notALong, notAnInteger, noValidDatastoreProviderShortName, parameterMustNotBeNull, parameterSringMustNotBeEmpty, persistenceXmlNotFoundInClassPath, querySyntaxException, schemaOptionNotSupportedForSequenceGenerator, schemaOptionNotSupportedForTableGenerator, transactionIdIsNotAvailable, tupleContextNotAvailable, unableToCloseSessionButSwallowingError, unableToConfigureDatastoreProvider, unableToConvertStringToDiscriminator, unableToFindGridType, unableToInstantiateType, unableToLoadClass, unableToLoadContext, unableToMarkTransactionForRollback, unableToParseHost, unableToSetTimeout, unableToStartDatastoreProvider, unexpectedClassType, unexpectedDatastoreProvider, unexpectedInstanceType, unknownAssociationStorageStrategy, unknownEnumerationValue, unsupportedIndexerConfigurationOption, unsupportedLockMode, unsupportedPropertyType, useDatastoreProvider, useGridDialect, usingNonAtomicOptimisticLocking, versiondebug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, 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, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, 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)
@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)
@Message(id=1214,
value="Unable to connect to MongoDB instance: %1$s")
org.hibernate.HibernateException unableToConnectToDatastore(String message,
@Cause
Exception e)
@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)
@Message(id=1225,
value="This WriteConcern has been deprecated or removed by MongoDB: %s")
org.hibernate.HibernateException writeConcernDeprecated(String writeConcern)
@Message(id=1226,
value="Unable to use reflection on invoke method \'%s#%s\' via reflection.")
org.hibernate.HibernateException unableToInvokeMethodViaReflection(String clazz,
String method)
@Message(id=1227,
value="Query must be executed using the \'executeUpdate()\' method: %s")
org.hibernate.HibernateException updateQueryMustBeExecutedViaExecuteUpdate(MongoDBQueryDescriptor queryDescriptor)
@Message(id=1228,
value="Query must be executed using \'getResultList()\' or \'getSingleResult()\' method: %s")
org.hibernate.HibernateException readQueryMustBeExecutedViaGetResultList(MongoDBQueryDescriptor queryDescriptor)
@Message(id=1229,
value="Constraint violation for entity %s (%s)")
org.hibernate.HibernateException constraintViolationForEntity(EntityKey entityKey,
String message,
@Cause
Exception cause)
@Message(id=1230,
value="Constraint violation while flushing several entities (%s)")
org.hibernate.HibernateException constraintViolationOnFlush(String message,
@Cause
Exception cause)
@Message(id=1231,
value="Unable to create index %2$s on collection %1$s")
org.hibernate.HibernateException unableToCreateIndex(String collection,
String indexName,
@Cause
Exception e)
@Message(id=1232,
value="Unable to create text index %2$s on collection %1$s. A text index named %3$s already exists and MongoDB only supports one text index per collection.")
org.hibernate.HibernateException unableToCreateTextIndex(String collection,
String newIndexName,
String existingIndexName)
@LogMessage(level=ERROR)
@Message(id=1233,
value="Cannot create an index with an empty name for collection %1$s. Please provide a name for all the indexes.")
void indexNameIsEmpty(String collection)
@LogMessage(level=ERROR)
@Message(id=1234,
value="No valid keys found for the index %2$s of collection %1$s.")
void noValidKeysForIndex(String collection,
String indexName)
@LogMessage(level=WARN)
@Message(id=1235,
value="Index option for index %2$s of collection %1$s are referencing a non existing index.")
void indexOptionReferencingNonExistingIndex(String collection,
String forIndex)
Copyright © 2010–2016 Hibernate. All rights reserved.