Interface JdbcEnvironment

  • All Superinterfaces:
    java.io.Serializable, Service

    public interface JdbcEnvironment
    extends Service
    Initial look at this concept we keep talking about with merging information from DatabaseMetaData and Dialect
    • Method Detail

      • getDialect

        Dialect getDialect()
        Get the dialect for this environment.
        Returns:
        The dialect.
      • getExtractedDatabaseMetaData

        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).
        Returns:
        The values extracted from JDBC DatabaseMetaData
      • getQualifiedObjectNameFormatter

        QualifiedObjectNameFormatter getQualifiedObjectNameFormatter()
        Obtain support for formatting qualified object names.
        Returns:
        Qualified name support.
      • getIdentifierHelper

        IdentifierHelper getIdentifierHelper()
        Obtain the helper for dealing with identifiers in this environment.

        Note that the Identifiers returned from this IdentifierHelper already account for auto-quoting :) yaay!

        Returns:
        The identifier helper.
      • getNameQualifierSupport

        NameQualifierSupport getNameQualifierSupport()
        Obtain the level of support for qualified names.
        Returns:
      • getSqlExceptionHelper

        SqlExceptionHelper getSqlExceptionHelper()
        Obtain the helper for dealing with JDBC SQLException faults.
        Returns:
        This environment's helper.
      • getLobCreatorBuilder

        LobCreatorBuilder getLobCreatorBuilder()
        Retrieve the delegate for building LobCreator instances.
        Returns:
        The LobCreator builder.
      • getTypeInfoForJdbcCode

        TypeInfo getTypeInfoForJdbcCode​(int jdbcTypeCode)
        Find type information for the type identified by the given "JDBC type code".
        Parameters:
        jdbcTypeCode - The JDBC type code.
        Returns:
        The corresponding type info.