Interface SchemaNameResolver
-
- All Known Implementing Classes:
DefaultSchemaNameResolver,DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate,DefaultSchemaNameResolver.SchemaNameResolverJava17Delegate
public interface SchemaNameResolverContract for resolving the schema of aConnection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringresolveSchemaName(Connection connection, Dialect dialect)Given a JDBCConnection, resolve the name of the schema (if one) to which it connects.
-
-
-
Method Detail
-
resolveSchemaName
String resolveSchemaName(Connection connection, Dialect dialect) throws SQLException
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
-
-