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(Class<? extends ConnectionProvider> connectionProviderClass, 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
public DatabaseConnectionInfoImpl(Class<? extends ConnectionProvider> connectionProviderClass, String jdbcUrl, String jdbcDriver, DatabaseVersion dialectVersion, String autoCommitMode, String isolationLevel, Integer poolMinSize, Integer poolMaxSize) -
DatabaseConnectionInfoImpl
-
DatabaseConnectionInfoImpl
-
-
Method Details
-
getJdbcUrl
Description copied from interface:DatabaseConnectionInfoThe JDBC URL to be used for connections- Specified by:
getJdbcUrlin interfaceDatabaseConnectionInfo
-
getJdbcDriver
Description copied from interface:DatabaseConnectionInfoThe JDBC Driver to be used for connections- Specified by:
getJdbcDriverin interfaceDatabaseConnectionInfo
-
getDialectVersion
Description copied from interface:DatabaseConnectionInfoThe database version.- Specified by:
getDialectVersionin interfaceDatabaseConnectionInfo- See Also:
-
getAutoCommitMode
Description copied from interface:DatabaseConnectionInfoThe transaction auto-commit mode in effect.- Specified by:
getAutoCommitModein interfaceDatabaseConnectionInfo
-
getIsolationLevel
Description copied from interface:DatabaseConnectionInfoThe transaction isolation-level in effect.- Specified by:
getIsolationLevelin interfaceDatabaseConnectionInfo
-
getPoolMinSize
Description copied from interface:DatabaseConnectionInfoThe minimum connection pool size.- Specified by:
getPoolMinSizein interfaceDatabaseConnectionInfo
-
getPoolMaxSize
Description copied from interface:DatabaseConnectionInfoThe maximum connection pool size.- Specified by:
getPoolMaxSizein interfaceDatabaseConnectionInfo
-
toInfoString
Description copied from interface:DatabaseConnectionInfoCollects the information available here as a single String with the intent of using it in logging.- Specified by:
toInfoStringin interfaceDatabaseConnectionInfo
-