Class DefaultSchemaNameResolver
java.lang.Object
org.hibernate.engine.jdbc.env.internal.DefaultSchemaNameResolver
- All Implemented Interfaces:
SchemaNameResolver
Default implementation of
SchemaNameResolver.- Author:
- Steve Ebersole
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionresolveSchemaName(Connection connection, Dialect dialect) Given a JDBCConnection, resolve the name of the schema (if one) to which it connects.
-
Field Details
-
INSTANCE
-
-
Method Details
-
resolveSchemaName
Description copied from interface:SchemaNameResolverGiven a JDBCConnection, resolve the name of the schema (if one) to which it connects.- Specified by:
resolveSchemaNamein interfaceSchemaNameResolver- Parameters:
connection- The JDBC connectiondialect- TheDialect- Returns:
- The name of the schema (may be null).
- Throws:
SQLException
-