Class DatabaseConnectionInfoImpl
java.lang.Object
org.hibernate.engine.jdbc.connections.internal.DatabaseConnectionInfoImpl
- All Implemented Interfaces:
DatabaseConnectionInfo
Standard implementation of
DatabaseConnectionInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDatabaseConnectionInfoImpl
(String jdbcUrl, String jdbcDriver, DatabaseVersion dialectVersion, String autoCommitMode, String isolationLevel, Integer poolMinSize, Integer poolMaxSize) DatabaseConnectionInfoImpl
(Map<String, Object> settings, Dialect dialect) DatabaseConnectionInfoImpl
(Dialect dialect) -
Method Summary
Modifier and TypeMethodDescriptionThe transaction auto-commit mode in effect.The database version.The transaction isolation-level in effect.The JDBC Driver to be used for connectionsThe JDBC URL to be used for connectionsThe maximum connection pool size.The minimum connection pool size.Collects the information available here as a single String with the intent of using it in logging.
-
Field Details
-
DEFAULT
- See Also:
-
jdbcUrl
-
jdbcDriver
-
dialectVersion
-
autoCommitMode
-
isolationLevel
-
poolMinSize
-
poolMaxSize
-
-
Constructor Details
-
DatabaseConnectionInfoImpl
-
DatabaseConnectionInfoImpl
-
DatabaseConnectionInfoImpl
-
-
Method Details
-
getJdbcUrl
Description copied from interface:DatabaseConnectionInfo
The JDBC URL to be used for connections- Specified by:
getJdbcUrl
in interfaceDatabaseConnectionInfo
-
getJdbcDriver
Description copied from interface:DatabaseConnectionInfo
The JDBC Driver to be used for connections- Specified by:
getJdbcDriver
in interfaceDatabaseConnectionInfo
-
getDialectVersion
Description copied from interface:DatabaseConnectionInfo
The database version.- Specified by:
getDialectVersion
in interfaceDatabaseConnectionInfo
- See Also:
-
getAutoCommitMode
Description copied from interface:DatabaseConnectionInfo
The transaction auto-commit mode in effect.- Specified by:
getAutoCommitMode
in interfaceDatabaseConnectionInfo
-
getIsolationLevel
Description copied from interface:DatabaseConnectionInfo
The transaction isolation-level in effect.- Specified by:
getIsolationLevel
in interfaceDatabaseConnectionInfo
-
getPoolMinSize
Description copied from interface:DatabaseConnectionInfo
The minimum connection pool size.- Specified by:
getPoolMinSize
in interfaceDatabaseConnectionInfo
-
getPoolMaxSize
Description copied from interface:DatabaseConnectionInfo
The maximum connection pool size.- Specified by:
getPoolMaxSize
in interfaceDatabaseConnectionInfo
-
toInfoString
Description copied from interface:DatabaseConnectionInfo
Collects the information available here as a single String with the intent of using it in logging.- Specified by:
toInfoString
in interfaceDatabaseConnectionInfo
-