public interface JdbcEnvironment extends Service
DatabaseMetaData
and Dialect
Modifier and Type | Method and Description |
---|---|
Identifier |
getCurrentCatalog()
Get the current database catalog.
|
Identifier |
getCurrentSchema()
Get the current database catalog.
|
Dialect |
getDialect()
Get the dialect for this environment.
|
ExtractedDatabaseMetaData |
getExtractedDatabaseMetaData()
Access to the bits of information we pulled off the JDBC
DatabaseMetaData (that did not get
"interpreted" into the helpers/delegates available here). |
IdentifierHelper |
getIdentifierHelper()
Obtain the helper for dealing with identifiers in this environment.
|
LobCreatorBuilder |
getLobCreatorBuilder()
Retrieve the delegate for building
LobCreator instances. |
NameQualifierSupport |
getNameQualifierSupport()
Obtain the level of support for qualified names.
|
QualifiedObjectNameFormatter |
getQualifiedObjectNameFormatter()
Obtain support for formatting qualified object names.
|
SqlExceptionHelper |
getSqlExceptionHelper()
Obtain the helper for dealing with JDBC
SQLException faults. |
TypeInfo |
getTypeInfoForJdbcCode(int jdbcTypeCode)
Find type information for the type identified by the given "JDBC type code".
|
Dialect getDialect()
ExtractedDatabaseMetaData getExtractedDatabaseMetaData()
DatabaseMetaData
(that did not get
"interpreted" into the helpers/delegates available here).Identifier getCurrentCatalog()
Connection.getCatalog()
or AvailableSettings.DEFAULT_CATALOG
.Identifier getCurrentSchema()
SchemaNameResolver.resolveSchemaName(java.sql.Connection, org.hibernate.dialect.Dialect)
or
AvailableSettings.DEFAULT_CATALOG
.QualifiedObjectNameFormatter getQualifiedObjectNameFormatter()
IdentifierHelper getIdentifierHelper()
NameQualifierSupport getNameQualifierSupport()
SqlExceptionHelper getSqlExceptionHelper()
SQLException
faults.LobCreatorBuilder getLobCreatorBuilder()
LobCreator
instances.TypeInfo getTypeInfoForJdbcCode(int jdbcTypeCode)
jdbcTypeCode
- The JDBC type code.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.