public interface QualifiedName
Models the qualified name of a database object. Some things to keep in
mind wrt catalog/schema:<ol>
<li>DatabaseMetaData.isCatalogAtStart()
</li>
<li>DatabaseMetaData.getCatalogSeparator()
</li>
</ol>
<p/>
Also, be careful about the usage of render()
. If the intention is get get the name
as used in the database, the JdbcEnvironment
→
QualifiedObjectNameFormatter.format(org.hibernate.boot.model.relational.QualifiedTableName, org.hibernate.dialect.Dialect)
should be
used instead.
Modifier and Type | Method and Description |
---|---|
Identifier |
getCatalogName() |
Identifier |
getObjectName() |
Identifier |
getSchemaName() |
String |
render()
Returns a String-form of the qualified name.
|
Identifier getCatalogName()
Identifier getSchemaName()
Identifier getObjectName()
String render()
Returns a String-form of the qualified name.
<p/>
Depending on intention, may not be appropriate. May want
QualifiedObjectNameFormatter.format(org.hibernate.boot.model.relational.QualifiedTableName, org.hibernate.dialect.Dialect)
instead. See JdbcEnvironment.getQualifiedObjectNameFormatter()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.