Interface SchemaNameResolver
- All Known Implementing Classes:
DefaultSchemaNameResolver,DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate,DefaultSchemaNameResolver.SchemaNameResolverJava17Delegate
public interface SchemaNameResolver
Contract for resolving the schema of a
Connection.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionresolveSchemaName(Connection connection, Dialect dialect) Given a JDBCConnection, resolve the name of the schema (if one) to which it connects.
-
Method Details
-
resolveSchemaName
Given a JDBCConnection, resolve the name of the schema (if one) to which it connects.- Parameters:
connection- The JDBC connectiondialect- TheDialect- Returns:
- The name of the schema (may be null).
- Throws:
SQLException
-