Package org.jboss.as.jpa.hibernate
Interface JpaLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
JpaLogger_$logger
@MessageLogger(projectCode="JIPIORMV6") public interface JpaLogger extends org.jboss.logging.BasicLoggerJipiJapa message range is 20200-20299 note: keep duplicate messages in sync between different sub-projects that use the same messages- Author:
- James R. Perkins, Scott Marlow
-
-
Field Summary
Fields Modifier and Type Field Description static JpaLoggerJPA_LOGGERA logger with the categoryorg.jipijapa.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IllegalStateExceptionfailOnIncompatibleSetting()Creates an exception indicating application is setting persistence unit property "hibernate.id.new_generator_mappings" to false which indicates that the old ID generator should be used, however Hibernate ORM 6 does not include the old ID generator.IllegalStateExceptionHibernateORMDidNotRegisterLifeCycleListener()Creates an exception indicating that Hibernate ORM did not register the expected LifeCycleListenervoidsecondLevelCacheIsEnabled(Object puUnitName)Inform that the Hibernate second level cache is enabled.-
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
-
JPA_LOGGER
static final JpaLogger JPA_LOGGER
A logger with the categoryorg.jipijapa.
-
-
Method Detail
-
secondLevelCacheIsEnabled
@LogMessage(level=INFO) @Message(id=20260, value="Second level cache enabled for %s") void secondLevelCacheIsEnabled(Object puUnitName)Inform that the Hibernate second level cache is enabled.- Parameters:
puUnitName- the persistence unit name
-
HibernateORMDidNotRegisterLifeCycleListener
@Message(id=20261, value="Hibernate ORM did not register LifeCycleListener") IllegalStateException HibernateORMDidNotRegisterLifeCycleListener()Creates an exception indicating that Hibernate ORM did not register the expected LifeCycleListener- Returns:
- an
IllegalStateExceptionfor the error.
-
failOnIncompatibleSetting
@Message(id=20263, value="hibernate.id.new_generator_mappings set to false is not supported, remove the setting or set to true. Refer to Hibernate ORM migration documentation for how to update the next id state in the application database.") IllegalStateException failOnIncompatibleSetting()Creates an exception indicating application is setting persistence unit property "hibernate.id.new_generator_mappings" to false which indicates that the old ID generator should be used, however Hibernate ORM 6 does not include the old ID generator.- Returns:
- an
IllegalStateExceptionfor the error.
-
-