Class DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.internal.DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate
-
- All Implemented Interfaces:
SchemaNameResolver
- Enclosing class:
- DefaultSchemaNameResolver
public static class DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate extends Object implements SchemaNameResolver
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description SchemaNameResolverFallbackDelegate()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultSchemaNameResolver.SchemaNameResolverFallbackDelegate INSTANCE
Singleton access
-
-
Method Detail
-
resolveSchemaName
public String resolveSchemaName(Connection connection, Dialect dialect) throws SQLException
Description copied from interface:SchemaNameResolver
Given a JDBCConnection
, resolve the name of the schema (if one) to which it connects.- Specified by:
resolveSchemaName
in interfaceSchemaNameResolver
- Parameters:
connection
- The JDBC connectiondialect
- The Dialect- Returns:
- The name of the schema (may be null).
- Throws:
SQLException
-
-