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
null
which indicates the value is not known
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable String
getAutoCommitMode()
The transaction auto-commit mode in effect.@Nullable DatabaseVersion
getDialectVersion()
The database version.@Nullable String
getIsolationLevel()
The transaction isolation-level in effect.@Nullable String
getJdbcDriver()
The JDBC Driver to be used for connections@Nullable String
getJdbcUrl()
The JDBC URL to be used for connections@Nullable Integer
getPoolMaxSize()
The maximum connection pool size.@Nullable Integer
getPoolMinSize()
The minimum connection pool size.String
toInfoString()
Collects the information available here as a single String with the intent of using it in logging.
-
-
-
Method Detail
-
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:
Dialect.getVersion()
-
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.
-
toInfoString
String toInfoString()
Collects the information available here as a single String with the intent of using it in logging.
-
-