Top Description Methods
org.hibernate.engine.jdbc.spi

public Interface SchemaNameResolver

Imports
java.sql.Connection

Contract for resolving the schema of a Connection.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the schema (may be null).
resolveSchemaName
(Connection
The JDBC connection
connection
)

Given a JDBC Connection, resolve the name of the schema (if one) to which it connects.

Method Detail

resolveSchemaNameback to summary
public String resolveSchemaName(Connection connection)

Given a JDBC Connection, resolve the name of the schema (if one) to which it connects.

Parameters
connection:Connection

The JDBC connection

Returns:String

The name of the schema (may be null).