类 IdentifierHelperBuilder
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder
-
public class IdentifierHelperBuilder extends Object
Builder for IdentifierHelper instances. Mainly here to allow progressive building of the immutable (after instantiation) IdentifierHelper.- 作者:
- Steve Ebersole
-
-
方法概要
-
-
-
方法详细资料
-
from
public static IdentifierHelperBuilder from(JdbcEnvironment jdbcEnvironment)
-
applyReservedWords
public void applyReservedWords(DatabaseMetaData metaData) throws SQLException
Applies any reserved words reported viaDatabaseMetaData.getSQLKeywords()- 参数:
metaData- The metadata to get reserved words from- 抛出:
SQLException- Any access to DatabaseMetaData can case SQLException; just re-throw.
-
applyIdentifierCasing
public void applyIdentifierCasing(DatabaseMetaData metaData) throws SQLException
- 抛出:
SQLException
-
isGloballyQuoteIdentifiers
public boolean isGloballyQuoteIdentifiers()
-
setGloballyQuoteIdentifiers
public void setGloballyQuoteIdentifiers(boolean globallyQuoteIdentifiers)
-
isSkipGlobalQuotingForColumnDefinitions
public boolean isSkipGlobalQuotingForColumnDefinitions()
-
setSkipGlobalQuotingForColumnDefinitions
public void setSkipGlobalQuotingForColumnDefinitions(boolean skipGlobalQuotingForColumnDefinitions)
-
setAutoQuoteKeywords
public void setAutoQuoteKeywords(boolean autoQuoteKeywords)
-
getNameQualifierSupport
public NameQualifierSupport getNameQualifierSupport()
-
setNameQualifierSupport
public void setNameQualifierSupport(NameQualifierSupport nameQualifierSupport)
-
getUnquotedCaseStrategy
public IdentifierCaseStrategy getUnquotedCaseStrategy()
-
setUnquotedCaseStrategy
public void setUnquotedCaseStrategy(IdentifierCaseStrategy unquotedCaseStrategy)
-
getQuotedCaseStrategy
public IdentifierCaseStrategy getQuotedCaseStrategy()
-
setQuotedCaseStrategy
public void setQuotedCaseStrategy(IdentifierCaseStrategy quotedCaseStrategy)
-
clearReservedWords
public void clearReservedWords()
-
build
public IdentifierHelper build()
-
-