@MessageLogger(projectCode="HHH") public interface EhCacheMessageLogger extends CoreMessageLogger
MessageLogger
for the hibernate-ehcache module. It reserves message ids ranging from
20001 to 25000 inclusively.
New messages must be added after the last message defined to ensure message codes are unique.Modifier and Type | Method and Description |
---|---|
void |
attemptToRestartAlreadyStartedEhCacheProvider()
Log a message (WARN) about attempt to start an already started Ehcache region factory
|
void |
incompatibleCacheValueMode()
Logs a message (WARN) about attempt to use an incompatible
TerracottaConfiguration.ValueMode . |
void |
incompatibleCacheValueModePerCache(String cacheName)
Logs a message (WARN) about attempt to use an incompatible
TerracottaConfiguration.ValueMode . |
void |
readOnlyCacheConfiguredForMutableEntity(String entityName)
Log a message (WARN) about an attempt to specify read-only caching for a mutable entity
|
void |
softLockedCacheExpired(String regionName,
Object key,
String lock)
Log a message (WARN) about expiry of soft-locked region.
|
void |
unableToFindConfiguration(String name)
Log a message (WARN) about inability to find configuration file
|
void |
unableToFindEhCacheConfiguration(String name)
Log a message (WARN) about inability to find named cache configuration
|
void |
unableToLoadConfiguration(String configurationResourceName)
Logs a message about not being able to resolve the configuration by resource name.
|
addingOverrideFor, aliasSpecificLockingWithFollowOnLocking, alreadySessionBound, alternateServiceRole, ambiguousPropertyMethods, applyingExplicitDiscriminatorColumnForJoined, autoCommitMode, autoFlushWillNotWork, batchContainedStatementsOnRelease, bytecodeProvider, c3p0ProviderClassNotFound, cachedFileNotFound, cachedFileObsolete, cacheProvider, callingJoinTransactionOnNonJtaEntityManager, cannotResolveNonNullableTransientDependencies, closing, closingUnreleasedBatch, collectionsFetched, collectionsLoaded, collectionsRecreated, collectionsRemoved, collectionsUpdated, columns, compositeIdClassDoesNotOverrideEquals, compositeIdClassDoesNotOverrideHashCode, configurationResource, configuredSessionFactory, configuringFromFile, configuringFromResource, configuringFromUrl, configuringFromXmlDocument, connectionsObtained, containerProvidingNullPersistenceUnitRootUrl, containsJoinFetchedCollection, couldNotBindJndiListener, creatingPooledLoOptimizer, creatingSubcontextInfo, definingFlushBeforeCompletionIgnoredInHem, deprecatedDerbyDialect, deprecatedForceDescriminatorAnnotation, deprecatedManyToManyFetch, deprecatedManyToManyOuterJoin, deprecatedOracle9Dialect, deprecatedOracleDialect, deprecatedUuidGenerator, disablingContextualLOBCreation, disablingContextualLOBCreationSinceConnectionNull, disablingContextualLOBCreationSinceCreateClobFailed, disablingContextualLOBCreationSinceOldJdbcVersion, disallowingInsertStatementComment, duplicateGeneratorName, duplicateGeneratorTable, duplicateImport, duplicateJoins, duplicateListener, duplicateMetadata, embedXmlAttributesNoLongerSupported, entitiesDeleted, entitiesFetched, entitiesInserted, entitiesLoaded, entitiesUpdated, entityAnnotationOnNonRoot, entityIdentifierValueBindingExists, entityManagerClosedBySomeoneElse, entityManagerFactoryAlreadyRegistered, entityMappedAsNonAbstract, exceptionHeaderFound, exceptionHeaderNotFound, exceptionInAfterTransactionCompletionInterceptor, exceptionInBeforeTransactionCompletionInterceptor, exceptionInSubResolver, executingImportScript, expectedType, expired, explicitSkipLockedLockCombo, factoryBoundToJndiName, factoryJndiRename, factoryUnboundFromJndiName, factoryUnboundFromName, failed, failSafeCollectionsCleanup, failSafeEntitiesCleanup, fetchingDatabaseMetadata, firstOrMaxResultsSpecifiedWithCollectionFetch, flushes, forcingContainerResourceCleanup, forcingTableUse, foreignKeys, foundMappingDocument, gettersOfLazyClassesCannotBeFinal, guidGenerated, handlingTransientEntity, hibernateConnectionPoolSize, hikariProviderClassNotFound, honoringOptimizerSetting, hql, hsqldbSupportsOnlyReadCommittedIsolation, hydratingEntitiesCount, ignoringTableGeneratorConstraints, ignoringUnrecognizedQueryHint, illegalPropertyGetterArgument, illegalPropertySetterArgument, immutableAnnotationOnNonRoot, incompleteMappingMetadataCacheProcessing, indexes, instantiatingExplicitConnectionProvider, invalidArrayElementType, invalidDiscriminatorAnnotation, invalidEditOfReadOnlyItem, invalidJndiName, invalidOnDeleteAnnotation, invalidPrimaryKeyJoinColumnAnnotation, invalidSubStrategy, invalidTableAnnotation, jaccContextId, JavaSqlTypesMappedSameCodeMultipleTimes, javassistEnhancementFailed, jdbcAutoCommitFalseBreaksEjb3Spec, jdbcRollbackFailed, jndiInitialContextProperties, jndiNameDoesNotHandleSessionFactoryReference, lazyPropertyFetchingAvailable, legacyTransactionManagerStrategy, loadingCollectionKeyNotFound, localLoadingCollectionKeysCount, logBadHbmAttributeConverterType, logCannotLocateIndexColumnInformation, logCannotUnsetUnexpectedSessionInCollection, loggingStatistics, logicalConnectionClosed, logicalConnectionReleasingPhysicalConnection, logUnexpectedSessionInCollectionNotConnected, maxQueryTime, missingArguments, missingEntityAnnotation, multipleTablesFound, multipleValidationModes, namedQueryError, namingExceptionAccessingFactory, narrowingProxy, naturalIdCacheHits, naturalIdCacheMisses, naturalIdCachePuts, naturalIdMaxQueryTime, naturalIdQueriesExecuted, needsLimit, noAppropriateConnectionProvider, noColumnsSpecifiedForIndex, noDefaultConstructor, nonCompliantMapConversion, noPersistentClassesFound, noSessionFactoryWithJndiName, optimisticLockFailures, orderByAnnotationIndexedCollection, overridingTransactionStrategyDangerous, packageNotFound, parsingXmlError, parsingXmlErrorForFile, parsingXmlWarning, parsingXmlWarningForFile, persistenceProviderCallerDoesNotImplementEjb3SpecCorrectly, pooledOptimizerReportedInitialValue, preparedStatementAlreadyInBatch, processEqualityExpression, processingPersistenceUnitInfoName, propertiesLoaded, propertiesNotFound, propertyNotFound, proxoolProviderClassNotFound, queriesExecuted, queryCacheHits, queryCacheMisses, queryCachePuts, rdmsOs2200Dialect, readingCachedMappings, readingMappingsFromFile, readingMappingsFromResource, readOnlyCacheConfiguredForMutableCollection, recognizedObsoleteHibernateNamespace, renamedProperty, requiredDifferentProvider, resolvedSqlTypeDescriptorForDifferentSqlCode, rollbackFromBackgroundThread, runningHbm2ddlSchemaExport, runningHbm2ddlSchemaUpdate, runningSchemaValidator, schemaExportComplete, schemaExportUnsuccessful, schemaUpdateComplete, scopingTypesToSessionFactoryAfterAlreadyScoped, searchingForMappingDocuments, secondLevelCacheHits, secondLevelCacheMisses, secondLevelCachePuts, serviceProperties, sessionsClosed, sessionsOpened, setManagerLookupClass, settersOfLazyClassesCannotBeFinal, sortAnnotationIndexedCollection, splitQueries, sqlWarning, stalePersistenceContextInEntityEntry, startingQueryCache, startingServiceAtJndiName, startingUpdateTimestampsCache, startTime, statementsClosed, statementsPrepared, stoppingService, subResolverException, successfulTransactions, synchronizationAlreadyRegistered, synchronizationFailed, tableFound, tableNotFound, timestampCacheHits, timestampCacheMisses, timestampCachePuts, tooManyInExpressions, transactions, transactionStartedOnNonRootSession, transactionStrategy, typeDefinedNoRegistrationKeys, typeRegistrationOverridesPrevious, unableToAccessEjb3Configuration, unableToAccessSessionFactory, unableToAccessTypeInfoResultSet, unableToApplyConstraints, unableToBindEjb3ConfigurationToJndi, unableToBindFactoryToJndi, unableToBindValueToParameter, unableToBuildEnhancementMetamodel, unableToBuildSessionFactoryUsingMBeanClasspath, unableToCleanUpCallableStatement, unableToCleanUpPreparedStatement, unableToCleanupTemporaryIdTable, unableToCloseConnection, unableToCloseInitialContext, unableToCloseInputFiles, unableToCloseInputStream, unableToCloseInputStreamForResource, unableToCloseIterator, unableToCloseJar, unableToCloseOutputFile, unableToCloseOutputStream, unableToCloseSession, unableToCloseSessionButSwallowingError, unableToCloseSessionDuringRollback, unableToCloseStream, unableToCloseStreamError, unableToCommitJta, unableToCompleteSchemaUpdate, unableToCompleteSchemaValidation, unableToConfigureSqlExceptionConverter, unableToConstructCurrentSessionContext, unableToConstructSqlExceptionConverter, unableToCopySystemProperties, unableToCreateProxyFactory, unableToCreateSchema, unableToDeserializeCache, unableToDestroyCache, unableToDestroyQueryCache, unableToDestroyUpdateTimestampsCache, unableToDetermineLockModeValue, unableToDetermineTransactionStatus, unableToDetermineTransactionStatusAfterCommit, unableToDiscoverOsgiService, unableToDropTemporaryIdTable, unableToExecuteBatch, unableToExecuteResolver, unableToFindPersistenceXmlInClasspath, unableToGetDatabaseMetadata, unableToInstantiateConfiguredSchemaNameResolver, unableToInstantiateOptimizer, unableToInstantiateUuidGenerationStrategy, unableToJoinTransaction, unableToLoadCommand, unableToLoadDerbyDriver, unableToLoadProperties, unableToLoadScannedClassOrResource, unableToLocateConfigFile, unableToLocateConfiguredSchemaNameResolver, unableToLocateCustomOptimizerClass, unableToLocateMBeanServer, unableToLocateUuidGenerationStrategy, unableToLogSqlWarnings, unableToLogWarnings, unableToMarkForRollbackOnPersistenceException, unableToMarkForRollbackOnTransientObjectException, unableToObjectConnectionMetadata, unableToObjectConnectionToQueryMetadata, unableToObtainConnectionMetadata, unableToObtainConnectionToQueryMetadata, unableToObtainInitialContext, unableToParseMetadata, unableToPerformJdbcCommit, unableToPerformManagedFlush, unableToQueryDatabaseMetadata, unableToReadClass, unableToReadColumnValueFromResultSet, unableToReadHiValue, unableToReadOrInitHiValue, unableToReleaseBatchStatement, unableToReleaseCacheLock, unableToReleaseContext, unableToReleaseCreatedMBeanServer, unableToReleaseIsolatedConnection, unableToReleaseTypeInfoResultSet, unableToRemoveBagJoinFetch, unableToResolveAggregateFunction, unableToResolveMappingFile, unableToRetrieveCache, unableToRetrieveTypeInfoResultSet, unableToRollbackConnection, unableToRollbackIsolatedTransaction, unableToRollbackJta, unableToRunSchemaUpdate, unableToSetTransactionToRollbackOnly, unableToStopHibernateService, unableToStopService, unableToSwitchToMethodUsingColumnIndex, unableToSynchronizeDatabaseStateWithSession, unableToToggleAutoCommit, unableToTransformClass, unableToUnbindFactoryFromJndi, unableToUpdateHiValue, unableToUpdateQueryHiValue, unableToWrapResultSet, unableToWriteCachedFile, undeterminedH2Version, unexpectedLiteralTokenType, unexpectedRowCounts, unknownBytecodeProvider, unknownIngresVersion, unknownOracleVersion, unknownSqlServerVersion, unregisteredResultSetWithoutStatement, unregisteredStatement, unsuccessful, unsuccessfulCreate, unsupportedAfterStatement, unsupportedIngresVersion, unsupportedInitialValue, unsupportedMultiTableBulkHqlJpaql, unsupportedNamedParameters, unsupportedOracleVersion, unsupportedProperty, updatingSchema, usingAstQueryTranslatorFactory, usingDefaultIdGeneratorSegmentValue, usingDefaultTransactionStrategy, usingDialect, usingFollowOnLocking, usingOldDtd, usingReflectionOptimizer, usingStoppedClassLoaderService, usingStreams, usingTimestampWorkaround, usingUuidHexGenerator, validatorNotFound, version, warningsCreatingTempTable, willNotRegisterListeners, writeLocksNotSupported, writingGeneratedSchemaToFile
debug, 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=WARN) @Message(value="Attempt to restart an already started EhCacheRegionFactory. Use sessionFactory.close() between repeated calls to buildSessionFactory. Using previously created EhCacheRegionFactory. If this behaviour is required, consider using org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory.", id=20001) void attemptToRestartAlreadyStartedEhCacheProvider()
@LogMessage(level=WARN) @Message(value="Could not find configuration [%s]; using defaults.", id=20002) void unableToFindConfiguration(String name)
name
- The name of the configuration file@LogMessage(level=WARN) @Message(value="Could not find a specific ehcache configuration for cache named [%s]; using defaults.", id=20003) void unableToFindEhCacheConfiguration(String name)
name
- The name of the cache configuration@LogMessage(level=WARN) @Message(value="A configurationResourceName was set to %s but the resource could not be loaded from the classpath. Ehcache will configure itself using defaults.", id=20004) void unableToLoadConfiguration(String configurationResourceName)
configurationResourceName
- The resource name we attempted to resolve@LogMessage(level=WARN) @Message(value="The default cache value mode for this Ehcache configuration is \"identity\". This is incompatible with clustered Hibernate caching - the value mode has therefore been switched to \"serialization\"", id=20005) void incompatibleCacheValueMode()
TerracottaConfiguration.ValueMode
.@LogMessage(level=WARN) @Message(value="The value mode for the cache[%s] is \"identity\". This is incompatible with clustered Hibernate caching - the value mode has therefore been switched to \"serialization\"", id=20006) void incompatibleCacheValueModePerCache(String cacheName)
TerracottaConfiguration.ValueMode
.cacheName
- The name of the cache whose config attempted to specify value mode.@LogMessage(level=WARN) @Message(value="read-only cache configured for mutable entity [%s]", id=20007) void readOnlyCacheConfiguredForMutableEntity(String entityName)
entityName
- The name of the entity@LogMessage(level=WARN) @Message(value="Cache[%s] Key[%s] Lockable[%s]\nA soft-locked cache entry was expired by the underlying Ehcache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limits", id=20008) void softLockedCacheExpired(String regionName, Object key, String lock)
regionName
- The region namekey
- The cache keylock
- The lockCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.