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