Top Description Methods
org.hibernate.boot.model.relational

public Interface QualifiedName

Known Direct Implementers
org.hibernate.boot.model.relational.QualifiedNameImpl, org.hibernate.boot.model.relational.QualifiedNameParser.NameParts
Imports
org.hibernate.boot.model.naming.Identifier

Models the qualified name of a database object. Some things to keep in mind wrt catalog/schema:
  1. java.sql.DatabaseMetaData#isCatalogAtStart
  2. java.sql.DatabaseMetaData#getCatalogSeparator()

Also, be careful about the usage of render. If the intention is to get the name as used in the database, the org.hibernate.engine.jdbc.env.spi.JdbcEnvironment to org.hibernate.engine.jdbc.env.spi.QualifiedObjectNameFormatter#format should be used instead.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Identifier
public Identifier
public Identifier
public String

Returns:

The string form
render
()

Returns a string form of the qualified name.

Method Detail

getCatalogNameback to summary
public Identifier getCatalogName()
getObjectNameback to summary
public Identifier getObjectName()
getSchemaNameback to summary
public Identifier getSchemaName()
renderback to summary
public String render()

Returns a string form of the qualified name.

Depending on intention, may not be appropriate. May want SqlStringGenerationContext#format instead.

Returns:String

The string form