public interface JdbcServices extends Service
Modifier and Type | Method and Description |
---|---|
JdbcConnectionAccess |
getBootstrapJdbcConnectionAccess()
Obtain a JdbcConnectionAccess usable from bootstrap actions
(hbm2ddl.auto, Dialect resolution, etc).
|
Dialect |
getDialect()
Obtain the dialect of the database.
|
ExtractedDatabaseMetaData |
getExtractedMetaDataSupport()
Obtain information about supported behavior reported by the JDBC driver.
|
JdbcEnvironment |
getJdbcEnvironment()
Obtain the JdbcEnvironment backing this JdbcServices instance.
|
LobCreator |
getLobCreator(LobCreationContext lobCreationContext)
Create an instance of a
LobCreator appropriate for the current environment, mainly meant to account for
variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5). |
ResultSetWrapper |
getResultSetWrapper()
Obtain service for wrapping a
ResultSet in a "column name cache" wrapper. |
SqlExceptionHelper |
getSqlExceptionHelper()
Obtain service for dealing with exceptions.
|
SqlStatementLogger |
getSqlStatementLogger()
Obtain service for logging SQL statements.
|
JdbcEnvironment getJdbcEnvironment()
JdbcConnectionAccess getBootstrapJdbcConnectionAccess()
Dialect getDialect()
SqlStatementLogger getSqlStatementLogger()
SqlExceptionHelper getSqlExceptionHelper()
ExtractedDatabaseMetaData getExtractedMetaDataSupport()
LobCreator getLobCreator(LobCreationContext lobCreationContext)
LobCreator
appropriate for the current environment, mainly meant to account for
variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).lobCreationContext
- The context in which the LOB is being createdResultSetWrapper getResultSetWrapper()
ResultSet
in a "column name cache" wrapper.Copyright © 2017 JBoss by Red Hat. All rights reserved.