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
Subsystem logging related to JDBC interactions
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
closingJdbcCoordinator
(int hashCode) void
closingUnreleasedBatch
(int hashCode) void
createdJdbcCoordinator
(int hashCode) void
currentTimestampRetrievedFromDatabase
(Object timestamp, int nanos, long time) void
void
fetchSize
(int fetchSize) void
initialAutoCommit
(boolean wasInitiallyAutoCommit) void
jdbcTransactionMarkedForRollbackOnly
(Throwable stackTraceHolder) void
logDatabaseInfo
(String name, String version, int major, int minor) void
logDriverInfo
(String name, String version, int major, int minor, int jdbcMajor, int jdbcMinor) void
lowFetchSize
(int fetchSize) void
void
void
void
void
void
sequenceValueRetrievedFromDatabase
(Number sequenceValue) void
settingFetchSize
(int fetchSize) void
settingQueryTimeout
(int timeout) void
statementExecutionComplete
(ConnectionReleaseMode connectionReleaseMode, int hashCode) void
transactionAfterBegin
(int hashCode) void
transactionAfterCompletion
(String completionStatus, int hashCode) void
transactionBeforeCompletion
(int hashCode) void
void
void
unableToReleaseConnection
(Exception ignored) void
void
unableToResetAutoCommitDisabled
(Exception ignored) void
unableToResetAutoCommitEnabled
(Exception ignored) void
void
unexpectedRowCounts
(String tableName, int expected, int actual) void
usingFetchSize
(int fetchSize) void
warnLowFetchSize
(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
-
-
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) -
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) -
notifyingResourceLocalObserversAfterBegin
@LogMessage(level=TRACE) @Message(value="Notifying resource-local transaction observers after begin", id=100033) void notifyingResourceLocalObserversAfterBegin() -
notifyingResourceLocalObserversBeforeCompletion
@LogMessage(level=TRACE) @Message(value="Notifying resource-local transaction observers before completion", id=100034) void notifyingResourceLocalObserversBeforeCompletion() -
notifyingResourceLocalObserversAfterCompletion
@LogMessage(level=TRACE) @Message(value="Notifying resource-local transaction observers after completion", id=100035) void notifyingResourceLocalObserversAfterCompletion() -
onCommitMarkedRollbackOnlyRollingBack
@LogMessage(level=TRACE) @Message(value="On commit, transaction was marked for rollback only, rolling back", id=100036) void onCommitMarkedRollbackOnlyRollingBack() -
jdbcTransactionMarkedForRollbackOnly
@LogMessage(level=TRACE) @Message(value="JDBC transaction marked for rollback only (exception provided for stack trace)", id=100037) void jdbcTransactionMarkedForRollbackOnly(@Cause Throwable stackTraceHolder) -
encounteredFailureRollingBackFailedCommit
@LogMessage(level=DEBUG) @Message(value="Encountered failure rolling back failed commit", id=100038) void encounteredFailureRollingBackFailedCommit(@Cause Throwable cause) -
noDatabaseMetaData
@LogMessage(level=DEBUG) @Message(value="Could not access DatabaseMetaData while building the JdbcEnvironment", id=100039) void noDatabaseMetaData(@Cause SQLException sqle) -
unableToObtainConnectionMetadata
@LogMessage(level=WARN) @Message(value="Could not obtain connection metadata: %s", id=100045) void unableToObtainConnectionMetadata(SQLException error) -
unableToObtainConnectionToQueryMetadata
@LogMessage(level=WARN) @Message(value="Could not obtain connection to query JDBC database metadata", id=100046) void unableToObtainConnectionToQueryMetadata(@Cause Exception e) -
initialAutoCommit
@LogMessage(level=TRACE) @Message(value="AutoCommit was initially %s", id=100047) void initialAutoCommit(boolean wasInitiallyAutoCommit)
-