Package org.hibernate.internal.log
Interface DeprecationLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
@MessageLogger(projectCode="HHH") @ValidIdRange(min=90000001, max=90001000) public interface DeprecationLogger extends org.jboss.logging.BasicLogger
Class to consolidate logging about usage of deprecated features.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CATEGORY
static DeprecationLogger
DEPRECATION_LOGGER
-
Method Summary
-
Methods inherited from interface org.jboss.logging.BasicLogger
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
-
-
-
-
Field Detail
-
CATEGORY
static final String CATEGORY
- See Also:
- Constant Field Values
-
DEPRECATION_LOGGER
static final DeprecationLogger DEPRECATION_LOGGER
-
-
Method Detail
-
logDeprecationOfEmbedXmlSupport
@LogMessage(level=WARN) @Message(value="embed-xml attributes were intended to be used for DOM4J entity mode. Since that entity mode has been removed, embed-xml attributes are no longer supported and should be removed from mappings.", id=90000004) void logDeprecationOfEmbedXmlSupport()
-
logDeprecationOfNonNamedIdAttribute
@LogMessage(level=WARN) @Message(value="Defining an entity [%s] with no physical id attribute is no longer supported; please map the identifier to a physical entity attribute", id=90000005) void logDeprecationOfNonNamedIdAttribute(String entityName)
-
logDeprecatedNamingStrategyArgument
@LogMessage(level=WARN) @Message(value="Attempted to specify unsupported NamingStrategy via command-line argument [--naming]. NamingStrategy has been removed in favor of the split ImplicitNamingStrategy and PhysicalNamingStrategy; use [--implicit-naming] or [--physical-naming], respectively, instead.", id=90000007) void logDeprecatedNamingStrategyArgument()
Log a warning about an attempt to specify unsupported NamingStrategy
-
logDeprecatedNamingStrategyAntArgument
@LogMessage(level=WARN) @Message(value="Attempted to specify unsupported NamingStrategy via Ant task argument. NamingStrategy has been removed in favor of the split ImplicitNamingStrategy and PhysicalNamingStrategy.", id=90000008) void logDeprecatedNamingStrategyAntArgument()
Log a warning about an attempt to specify unsupported NamingStrategy
-
deprecatedManyToManyOuterJoin
@LogMessage(level=WARN) @Message(value="The outer-join attribute on <many-to-many> has been deprecated. Instead of outer-join=\"false\", use lazy=\"extra\" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.", id=90000009) void deprecatedManyToManyOuterJoin()
-
deprecatedManyToManyFetch
@LogMessage(level=WARN) @Message(value="The fetch attribute on <many-to-many> has been deprecated. Instead of fetch=\"select\", use lazy=\"extra\" with <map>, <set>, <bag>, <idbag>, or <list>, which will only initialize entities (not as a proxy) as needed.", id=90000010) void deprecatedManyToManyFetch()
-
recognizedObsoleteHibernateNamespace
@LogMessage(level=WARN) @Message(value="Recognized obsolete hibernate namespace %s. Use namespace %s instead. Support for obsolete DTD/XSD namespaces may be removed at any time.", id=90000012) void recognizedObsoleteHibernateNamespace(String oldHibernateNamespace, String hibernateNamespace)
-
connectionProviderClassDeprecated
@LogMessage(level=WARN) @Message(id=90000013, value="Named ConnectionProvider [%s] has been deprecated in favor of %s; that provider will be used instead. Update your settings") void connectionProviderClassDeprecated(String providerClassName, String actualProviderClassName)
-
deprecatedSequenceGenerator
@LogMessage(level=WARN) @Message(id=90000014, value="Found use of deprecated [%s] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details.") void deprecatedSequenceGenerator(String generatorImpl)
-
deprecatedTableGenerator
@LogMessage(level=WARN) @Message(id=90000015, value="Found use of deprecated [%s] table-based id generator; use org.hibernate.id.enhanced.TableGenerator instead. See Hibernate Domain Model Mapping Guide for details.") void deprecatedTableGenerator(String generatorImpl)
-
logDeprecatedTransactionFactorySetting
@LogMessage(level=WARN) @Message(id=90000018, value="Found use of deprecated transaction factory setting [%s]; use the new TransactionCoordinatorBuilder settings [%s] instead") void logDeprecatedTransactionFactorySetting(String legacySettingName, String updatedSettingName)
-
deprecatedSetting
@LogMessage(level=WARN) @Message(id=90000021, value="Encountered deprecated setting [%s], use [%s] instead") void deprecatedSetting(String oldSettingName, String newSettingName)
-
automaticDialect
@LogMessage(level=WARN) @Message(value="%s does not need to be specified explicitly using \'hibernate.dialect\' (remove the property setting and it will be selected by default)", id=90000025) void automaticDialect(String dialect)
-
deprecatedDialect
@LogMessage(level=WARN) @Message(value="%s has been deprecated", id=90000026) void deprecatedDialect(String dialect)
-
deprecatedDialect
@LogMessage(level=WARN) @Message(value="%s has been deprecated; use %s instead", id=90000026) void deprecatedDialect(String dialect, String replacement)
-
deprecatedSetting2
@LogMessage(level=WARN) @Message(id=90000027, value="Encountered deprecated setting [%s]; instead %s") void deprecatedSetting2(String settingName, String alternative)
Different fromdeprecatedSetting(java.lang.String, java.lang.String)
in that sometimes there is no direct alternative
-
logDeprecatedHbmXmlProcessing
@LogMessage(level=WARN) @Message(id=90000028, value="Support for `<hibernate-mappings/>` is deprecated [%s : %s]; migrate to orm.xml or mapping.xml, or enable `hibernate.transform_hbm_xml.enabled` for on the fly transformation") void logDeprecatedHbmXmlProcessing(SourceType sourceType, String name)
Different fromdeprecatedSetting(java.lang.String, java.lang.String)
in that sometimes there is no direct alternative
-
deprecatedSettingForRemoval
@LogMessage(level=WARN) @Message(id=90000029, value="The [%s] configuration is deprecated and will be removed. Set the value to [%s] to get rid of this warning") void deprecatedSettingForRemoval(String settingName, String defaultValue)
Different fromdeprecatedSetting(java.lang.String, java.lang.String)
in that sometimes there is no direct alternative
-
deprecatedSettingNoReplacement
@LogMessage(level=WARN) @Message(id=90000030, value="The [%s] configuration is deprecated and will be removed.") void deprecatedSettingNoReplacement(String settingName)
Different fromdeprecatedSetting(java.lang.String, java.lang.String)
in that sometimes there is no direct alternative
-
deprecatedNativeQueryColonEscaping
@LogMessage(level=WARN) @Message(id=90000031, value="The native query colon escaping used for the [%s] operator is deprecated and will be removed. Use [%s] instead.") void deprecatedNativeQueryColonEscaping(String oldOperator, String newOperator)
-
deprecatedArrayContainsWithArray
@LogMessage(level=WARN) @Message(id=90000032, value="The support for passing arrays to array_contains() is deprecated and will be removed. Use array_includes() instead.") void deprecatedArrayContainsWithArray()
-
-