public class JdbcServicesImpl extends Object implements JdbcServices, ServiceRegistryAwareService, Configurable
JdbcServices contract| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMA_NAME_RESOLVER |
| Constructor and Description |
|---|
JdbcServicesImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map configValues)
Configure the service.
|
ConnectionProvider |
getConnectionProvider()
Obtain service for providing JDBC connections.
|
Dialect |
getDialect()
Obtain the dialect of the database to which
connections from
JdbcServices.getConnectionProvider() point. |
ExtractedDatabaseMetaData |
getExtractedMetaDataSupport()
Obtain information about supported behavior reported by the JDBC driver.
|
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.
|
void |
injectServices(ServiceRegistryImplementor serviceRegistry)
Callback to inject the registry.
|
public static final String SCHEMA_NAME_RESOLVER
public void injectServices(ServiceRegistryImplementor serviceRegistry)
ServiceRegistryAwareServiceinjectServices in interface ServiceRegistryAwareServiceserviceRegistry - The registrypublic void configure(Map configValues)
Configurableconfigure in interface ConfigurableconfigValues - The configuration properties.public ConnectionProvider getConnectionProvider()
JdbcServicesgetConnectionProvider in interface JdbcServicespublic SqlStatementLogger getSqlStatementLogger()
JdbcServicesgetSqlStatementLogger in interface JdbcServicespublic SqlExceptionHelper getSqlExceptionHelper()
JdbcServicesgetSqlExceptionHelper in interface JdbcServicespublic Dialect getDialect()
JdbcServicesconnections from
JdbcServices.getConnectionProvider() point.getDialect in interface JdbcServicespublic ExtractedDatabaseMetaData getExtractedMetaDataSupport()
JdbcServicesgetExtractedMetaDataSupport in interface JdbcServicespublic LobCreator getLobCreator(LobCreationContext lobCreationContext)
JdbcServicesLobCreator appropriate for the current environment, mainly meant to account for
variance between JDBC 4 (<= JDK 1.6) and JDBC3 (>= JDK 1.5).getLobCreator in interface JdbcServiceslobCreationContext - The context in which the LOB is being createdpublic ResultSetWrapper getResultSetWrapper()
JdbcServicesResultSet in a "column name cache" wrapper.getResultSetWrapper in interface JdbcServicesCopyright © 2012 JBoss by Red Hat. All Rights Reserved.