Interface DatabaseConnectionInfo
- All Known Implementing Classes:
DatabaseConnectionInfoImpl
public interface DatabaseConnectionInfo
Contract used for logging "database information" on bootstrap
- API Note:
- Most of the getters here may return
nullwhich indicates the value is not known
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe transaction auto-commit mode in effect.@Nullable StringThe default catalog@Nullable DatabaseVersionThe database version.@Nullable StringThe transaction isolation-level in effect.@Nullable StringThe JDBC Driver to be used for connections@Nullable IntegerThe default JDBC fetch size.@Nullable StringThe JDBC URL to be used for connections@Nullable IntegerThe maximum connection pool size.@Nullable IntegerThe minimum connection pool size.@Nullable StringThe default schemabooleanbooleanCollects the information available here as a single String with the intent of using it in logging.
-
Method Details
-
getJdbcUrl
@Nullable String getJdbcUrl()The JDBC URL to be used for connections -
getJdbcDriver
@Nullable String getJdbcDriver()The JDBC Driver to be used for connections -
getDialectVersion
@Nullable DatabaseVersion getDialectVersion()The database version.- See Also:
-
getSchema
@Nullable String getSchema()The default schema -
getCatalog
@Nullable String getCatalog()The default catalog -
getAutoCommitMode
@Nullable String getAutoCommitMode()The transaction auto-commit mode in effect. -
getIsolationLevel
@Nullable String getIsolationLevel()The transaction isolation-level in effect. -
getPoolMinSize
@Nullable Integer getPoolMinSize()The minimum connection pool size. -
getPoolMaxSize
@Nullable Integer getPoolMaxSize()The maximum connection pool size. -
getJdbcFetchSize
@Nullable Integer getJdbcFetchSize()The default JDBC fetch size. -
hasSchema
-
hasCatalog
-
toInfoString
String toInfoString()Collects the information available here as a single String with the intent of using it in logging.
-