public static class DefaultSchemaNameResolver.SchemaNameResolverJava17Delegate extends Object implements SchemaNameResolver
Constructor and Description |
---|
SchemaNameResolverJava17Delegate(Method getSchemaMethod) |
Modifier and Type | Method and Description |
---|---|
String |
resolveSchemaName(Connection connection,
Dialect dialect)
Given a JDBC
Connection , resolve the name of the schema (if one) to which it connects. |
public SchemaNameResolverJava17Delegate(Method getSchemaMethod)
public String resolveSchemaName(Connection connection, Dialect dialect) throws SQLException
SchemaNameResolver
Connection
, resolve the name of the schema (if one) to which it connects.resolveSchemaName
in interface SchemaNameResolver
connection
- The JDBC connectiondialect
- The DialectSQLException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.