Interface SchemaNameResolver


  • public interface SchemaNameResolver
    Contract for resolving the schema of a Connection.
    • Method Detail

      • resolveSchemaName

        java.lang.String resolveSchemaName​(java.sql.Connection connection,
                                           Dialect dialect)
                                    throws java.sql.SQLException
        Given a JDBC Connection, resolve the name of the schema (if one) to which it connects.
        Parameters:
        connection - The JDBC connection
        dialect - The Dialect
        Returns:
        The name of the schema (may be null).
        Throws:
        java.sql.SQLException