Class IdentifierHelperBuilder
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder
-
public class IdentifierHelperBuilder extends java.lang.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(java.sql.DatabaseMetaData metaData) throws java.sql.SQLException
Applies any reserved words reported viaDatabaseMetaData.getSQLKeywords()
- Parameters:
metaData
- The metadata to get reserved words from- Throws:
java.sql.SQLException
- Any access to DatabaseMetaData can case SQLException; just re-throw.
-
applyIdentifierCasing
public void applyIdentifierCasing(java.sql.DatabaseMetaData metaData) throws java.sql.SQLException
- Throws:
java.sql.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()
-
applyReservedWords
public void applyReservedWords(java.util.Set<java.lang.String> words)
-
setReservedWords
public void setReservedWords(java.util.Set<java.lang.String> words)
-
build
public IdentifierHelper build()
-
-