|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.engine.jdbc.internal.JdbcServicesImpl
public class JdbcServicesImpl
Standard implementation of the JdbcServices
contract
Field Summary | |
---|---|
static String |
SCHEMA_NAME_RESOLVER
|
Constructor Summary | |
---|---|
JdbcServicesImpl()
|
Method Summary | |
---|---|
void |
configure(Map configValues)
Configure the service. |
ConnectionProvider |
getConnectionProvider()
Obtain service for providing JDBC connections. |
Dialect |
getDialect()
Obtain the dialect of the database. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SCHEMA_NAME_RESOLVER
Constructor Detail |
---|
public JdbcServicesImpl()
Method Detail |
---|
public void injectServices(ServiceRegistryImplementor serviceRegistry)
ServiceRegistryAwareService
injectServices
in interface ServiceRegistryAwareService
serviceRegistry
- The registrypublic void configure(Map configValues)
Configurable
configure
in interface Configurable
configValues
- The configuration properties.public ConnectionProvider getConnectionProvider()
JdbcServices
getConnectionProvider
in interface JdbcServices
public SqlStatementLogger getSqlStatementLogger()
JdbcServices
getSqlStatementLogger
in interface JdbcServices
public SqlExceptionHelper getSqlExceptionHelper()
JdbcServices
getSqlExceptionHelper
in interface JdbcServices
public Dialect getDialect()
JdbcServices
getDialect
in interface JdbcServices
public ExtractedDatabaseMetaData getExtractedMetaDataSupport()
JdbcServices
getExtractedMetaDataSupport
in interface JdbcServices
public LobCreator getLobCreator(LobCreationContext lobCreationContext)
JdbcServices
LobCreator
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 JdbcServices
lobCreationContext
- The context in which the LOB is being created
public ResultSetWrapper getResultSetWrapper()
JdbcServices
ResultSet
in a "column name cache" wrapper.
getResultSetWrapper
in interface JdbcServices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |