@MessageLogger(projectCode="HHH") public interface C3P0MessageLogger extends ConnectionPoolingLogger
MessageLogger for the hibernate-c3p0 module. It reserves message ids ranging from
10001 to 15000 inclusively.
New messages must be added after the last message defined to ensure message codes are unique.CONNECTIONS_LOGGER| Modifier and Type | Method and Description |
|---|---|
void |
bothHibernateAndC3p0StylesSet(String hibernateStyle,
String c3p0Style)
Log a message (WARN) about conflicting
hibernate.c3p0.XYZ and c3p0.XYZ settings |
void |
c3p0UsingDriver(String jdbcDriverClass,
String jdbcUrl)
Log a message (INFO) about which Driver class is being used.
|
String |
jdbcDriverNotFound(String jdbcDriverClass)
Build a message about not being able to find the JDBC driver class
|
void |
unableToDestroyC3p0ConnectionPool(SQLException e)
Log a message (WARN) about not being able to stop the underlying c3p0 pool.
|
String |
unableToInstantiateC3p0ConnectionPool()
Build a message about not being able to start the underlying c3p0 pool.
|
autoCommitMode, cleaningUpConnectionPool, connectionProperties, jdbcDriverNotSpecified, jdbcIsolationLevel, jdbcUrlNotSpecified, unableToClosePooledConnection, usingDriver, usingHibernateBuiltInConnectionPooldebug, 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="Both hibernate-style property \'%1$s\' and c3p0-style property \'%2$s\' have been set in Hibernate properties. Hibernate-style property \'%1$s\' will be used and c3p0-style property \'%2$s\' will be ignored!",
id=10001)
void bothHibernateAndC3p0StylesSet(String hibernateStyle,
String c3p0Style)
hibernate.c3p0.XYZ and c3p0.XYZ settingshibernateStyle - The hibernate.c3p0 prefixed settingc3p0Style - The c3p0. prefixed setting@LogMessage(level=INFO)
@Message(value="C3P0 using driver: %s at URL: %s",
id=10002)
void c3p0UsingDriver(String jdbcDriverClass,
String jdbcUrl)
jdbcDriverClass - The JDBC Driver classjdbcUrl - The JDBC URL@Message(value="JDBC Driver class not found: %s",
id=10003)
String jdbcDriverNotFound(String jdbcDriverClass)
jdbcDriverClass - The JDBC driver class we could not find@LogMessage(level=WARN)
@Message(value="Could not destroy C3P0 connection pool",
id=10004)
void unableToDestroyC3p0ConnectionPool(@Cause
SQLException e)
e - The exception when we tried to stop pool@Message(value="Could not instantiate C3P0 connection pool",
id=10005)
String unableToInstantiateC3p0ConnectionPool()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.