Package org.hibernate.engine.jdbc
Interface JdbcLogging
- All Superinterfaces:
org.jboss.logging.BasicLogger
@MessageLogger(projectCode="HHH")
@ValidIdRange(min=100001,
max=100500)
@Internal
public interface JdbcLogging
extends org.jboss.logging.BasicLogger
Sub-system logging related to JDBC interactions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.logging.Loggerstatic final JdbcLoggingstatic final String -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclosingJdbcCoordinator(int hashCode) voidclosingLogicalConnection(int hashCode) voidclosingUnreleasedBatch(int hashCode) voidvoidcreatedJdbcCoordinator(int hashCode) voidcurrentTimestampRetrievedFromDatabase(Object timestamp, int nanos, long time) voiderrorBeforeReleasingJdbcConnection(int hashCode, Throwable e) voidfetchSize(int fetchSize) voidinitiatingConnectionReleaseAfterStatement(int hashCode) voidinitiatingConnectionReleaseAfterTransaction(int hashCode) voidinitiatingConnectionReleaseBeforeTransactionCompletion(int hashCode) voidlogDatabaseInfo(String name, String version, int major, int minor) voidlogDriverInfo(String name, String version, int major, int minor, int jdbcMajor, int jdbcMinor) voidlogicalConnectionClosed(int hashCode) voidlowFetchSize(int fetchSize) voidsequenceValueRetrievedFromDatabase(Number sequenceValue) voidsettingFetchSize(int fetchSize) voidsettingQueryTimeout(int timeout) voidskipConnectionReleaseAfterStatementDueToResources(int hashCode) voidstatementExecutionComplete(ConnectionReleaseMode connectionReleaseMode, int hashCode) voidtransactionAfterBegin(int hashCode) voidtransactionAfterCompletion(String completionStatus, int hashCode) voidtransactionBeforeCompletion(int hashCode) voidunableToReleaseConnection(Exception ignored) voidvoidunableToResetAutoCommitDisabled(Exception ignored) voidunableToResetAutoCommitEnabled(Exception ignored) voidvoidunexpectedRowCounts(String tableName, int expected, int actual) voidusingFetchSize(int fetchSize) voidwarnLowFetchSize(int fetchSize) 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 Details
-
NAME
- See Also:
-
JDBC_LOGGER
static final org.jboss.logging.Logger JDBC_LOGGER -
JDBC_MESSAGE_LOGGER
-
-
Method Details
-
unexpectedRowCounts
@LogMessage(level=WARN) @Message(id=100001, value="JDBC driver did not return the expected number of row counts (%s) - expected %s, but received %s") void unexpectedRowCounts(String tableName, int expected, int actual) -
createdJdbcCoordinator
@LogMessage(level=TRACE) @Message(value="Created JdbcCoordinator @%s", id=100002) void createdJdbcCoordinator(int hashCode) -
closingJdbcCoordinator
@LogMessage(level=TRACE) @Message(value="Closing JdbcCoordinator @%s", id=100003) void closingJdbcCoordinator(int hashCode) -
statementExecutionComplete
@LogMessage(level=TRACE) @Message(value="Statement execution complete (connection release mode %s) in JdbcCoordinator @%s", id=100004) void statementExecutionComplete(ConnectionReleaseMode connectionReleaseMode, int hashCode) -
transactionAfterBegin
@LogMessage(level=TRACE) @Message(value="Transaction after begin in JdbcCoordinator @%s", id=100005) void transactionAfterBegin(int hashCode) -
transactionBeforeCompletion
@LogMessage(level=TRACE) @Message(value="Transaction before completion in JdbcCoordinator @%s", id=100006) void transactionBeforeCompletion(int hashCode) -
transactionAfterCompletion
@LogMessage(level=TRACE) @Message(value="Transaction after %s completion in JdbcCoordinator @%s", id=100007) void transactionAfterCompletion(String completionStatus, int hashCode) -
closingUnreleasedBatch
@LogMessage(level=DEBUG) @Message(value="Closing unreleased batch in JdbcCoordinator @%s", id=100008) void closingUnreleasedBatch(int hashCode) -
closingLogicalConnection
@LogMessage(level=TRACE) @Message(value="Closing logical connection @%s", id=100009) void closingLogicalConnection(int hashCode) -
logicalConnectionClosed
@LogMessage(level=TRACE) @Message(value="Closed logical connection @%s", id=100010) void logicalConnectionClosed(int hashCode) -
skipConnectionReleaseAfterStatementDueToResources
@LogMessage(level=TRACE) @Message(value="Skipping aggressive release of JDBC connection @%s from \'afterStatement\' due to held resources", id=100011) void skipConnectionReleaseAfterStatementDueToResources(int hashCode) -
initiatingConnectionReleaseAfterStatement
@LogMessage(level=TRACE) @Message(value="Initiating release of JDBC connection @%s from \'afterStatement\'", id=100012) void initiatingConnectionReleaseAfterStatement(int hashCode) -
initiatingConnectionReleaseBeforeTransactionCompletion
@LogMessage(level=TRACE) @Message(value="Initiating release of JDBC connection @%s from \'beforeTransactionCompletion\'", id=100013) void initiatingConnectionReleaseBeforeTransactionCompletion(int hashCode) -
initiatingConnectionReleaseAfterTransaction
@LogMessage(level=TRACE) @Message(value="Initiating release of JDBC connection @%s from \'afterTransaction\'", id=100014) void initiatingConnectionReleaseAfterTransaction(int hashCode) -
errorBeforeReleasingJdbcConnection
@LogMessage(level=WARN) @Message(value="Error before releasing JDBC connection @%s", id=100015) void errorBeforeReleasingJdbcConnection(int hashCode, @Cause Throwable e) -
connectionProviderDisablesAutoCommitEnabled
@LogMessage(level=DEBUG) @Message(id=100016, value="\'hibernate.connection.provider_disables_autocommit\' was enabled. This setting should only be enabled when JDBC Connections obtained by Hibernate from the ConnectionProvider have auto-commit disabled. Enabling this setting when connections have auto-commit enabled leads to execution of SQL operations outside of any JDBC transaction.") void connectionProviderDisablesAutoCommitEnabled() -
logDatabaseInfo
-
logDriverInfo
-
unableToReleaseIsolatedConnection
@LogMessage(level=INFO) @Message(value="Unable to release isolated connection", id=100020) void unableToReleaseIsolatedConnection(@Cause Exception ignored) -
unableToReleaseConnection
@LogMessage(level=DEBUG) @Message(value="Unable to release connection", id=100021) void unableToReleaseConnection(@Cause Exception ignored) -
unableToRollBackIsolatedConnection
@LogMessage(level=INFO) @Message(value="Unable to roll back isolated connection on exception ", id=100022) void unableToRollBackIsolatedConnection(@Cause Exception ignored) -
unableToResetAutoCommitEnabled
@LogMessage(level=TRACE) @Message(value="Unable to reset connection back to auto-commit enabled", id=100040) void unableToResetAutoCommitEnabled(@Cause Exception ignored) -
unableToResetAutoCommitDisabled
@LogMessage(level=TRACE) @Message(value="Unable to reset connection back to auto-commit disabled", id=100041) void unableToResetAutoCommitDisabled(@Cause Exception ignored) -
usingFetchSize
@LogMessage(level=DEBUG) @Message(value="Using default JDBC fetch size: %s", id=100122) void usingFetchSize(int fetchSize) -
warnLowFetchSize
@LogMessage(level=WARN) @Message(value="Low default JDBC fetch size: %s (consider setting \'hibernate.jdbc.fetch_size\')", id=100123) void warnLowFetchSize(int fetchSize) -
fetchSize
@LogMessage(level=TRACE) @Message(value="JDBC fetch size: %s", id=100124) void fetchSize(int fetchSize) -
lowFetchSize
@LogMessage(level=DEBUG) @Message(value="Low JDBC fetch size: %s (consider setting \'hibernate.jdbc.fetch_size\')", id=100125) void lowFetchSize(int fetchSize) -
settingFetchSize
@LogMessage(level=TRACE) @Message(value="Setting JDBC fetch size: %s", id=100126) void settingFetchSize(int fetchSize) -
settingQueryTimeout
@LogMessage(level=TRACE) @Message(value="Setting JDBC query timeout: %s", id=100127) void settingQueryTimeout(int timeout) -
callingJoinTransactionOnNonJtaEntityManager
@LogMessage(level=WARN) @Message(value="Called joinTransaction() on a non-JTA EntityManager (ignoring)", id=100030) void callingJoinTransactionOnNonJtaEntityManager() -
currentTimestampRetrievedFromDatabase
@LogMessage(level=TRACE) @Message(value="Current timestamp retrieved from database: %s (nanos=%s, time=%s)", id=100031) void currentTimestampRetrievedFromDatabase(Object timestamp, int nanos, long time) -
sequenceValueRetrievedFromDatabase
@LogMessage(level=TRACE) @Message(value="Sequence value retrieved from database: %s", id=100032) void sequenceValueRetrievedFromDatabase(Number sequenceValue)
-