Interface SchemaNameResolver
-
- All Known Implementing Classes:
DefaultSchemaNameResolver
,DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate
,DefaultSchemaNameResolver.SchemaNameResolverJava17Delegate
public interface SchemaNameResolver
Contract for resolving the schema of aConnection
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
resolveSchemaName(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
- The Dialect- Returns:
- The name of the schema (may be null).
- Throws:
SQLException
-
-