public class DefaultSchemaNameResolver extends Object implements SchemaNameResolver
Modifier and Type | Class and Description |
---|---|
static class |
DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate |
static class |
DefaultSchemaNameResolver.SchemaNameResolverJava17Delegate |
Modifier and Type | Field and Description |
---|---|
static DefaultSchemaNameResolver |
INSTANCE |
Constructor and Description |
---|
DefaultSchemaNameResolver() |
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 static final DefaultSchemaNameResolver INSTANCE
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.