| The docs for the property globally_quoted_identifiers_skip_column_definitions says : "Set to true to avoid column-definitions being quoted due to global quoting" The implementation seems to do the opposite. In org.hibernate.engine.jdbc.env.internal.NormalizingIdentifierHelperImpl#applyGlobalQuoting we have :
public Identifier applyGlobalQuoting(String text) {
return Identifier.toIdentifier( text, globallyQuoteIdentifiers && globallyQuoteIdentifiersSkipColumnDefinitions );
}
The toIdentifier function params are :
* @param text The text form
* @param quote Whether to quote unquoted text forms
The second argument of the toIdentifier function should be false when globallyQuoteIdentifiers = true and globallyQuoteIdentifiersSkipColumnDefinitions = true. This can be achieved by adding a '!' in front of globallyQuoteIdentifiersSkipColumnDefinitions
public Identifier applyGlobalQuoting(String text) {
return Identifier.toIdentifier( text, globallyQuoteIdentifiers && !globallyQuoteIdentifiersSkipColumnDefinitions );
}
|