Class 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.
-
-
Method Summary
-
-
-
Method Detail
-
from
public static IdentifierHelperBuilder from(JdbcEnvironment jdbcEnvironment)
-
applyReservedWords
public void applyReservedWords(DatabaseMetaData metaData) throws SQLException
Applies any reserved words reported viaDatabaseMetaData.getSQLKeywords()
- Parameters:
metaData
- The metadata to get reserved words from- Throws:
SQLException
- Any access to DatabaseMetaData can case SQLException; just re-throw.
-
applyIdentifierCasing
public void applyIdentifierCasing(DatabaseMetaData metaData) throws SQLException
- Throws:
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)
-
setAutoQuoteInitialUnderscore
public void setAutoQuoteInitialUnderscore(boolean autoQuoteInitialUnderscore)
-
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()
-
applyReservedWords
public void applyReservedWords(String... words)
-
applyReservedWords
public void applyReservedWords(Collection<String> words)
-
build
public IdentifierHelper build()
-
-