mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-01 07:19:15 +00:00
HHH-10662 - Fix inconsistencies between quoting-related configuration properties JavaDocs and their default values assigned at the code level
This commit is contained in:
parent
de6d80a67b
commit
985229f9a7
@ -399,7 +399,7 @@ public interface AvailableSettings {
|
||||
|
||||
/**
|
||||
* Specifies whether to automatically quote any names that are deemed keywords. Auto-quoting
|
||||
* is enabled by default. Set to false to disable.
|
||||
* is disabled by default. Set to true to enable it.
|
||||
*
|
||||
* @since 5.0
|
||||
*/
|
||||
|
@ -32,9 +32,9 @@
|
||||
import org.hibernate.exception.internal.SQLExceptionTypeDelegate;
|
||||
import org.hibernate.exception.internal.SQLStateConversionDelegate;
|
||||
import org.hibernate.exception.internal.StandardSQLExceptionConverter;
|
||||
import org.hibernate.internal.util.config.ConfigurationHelper;
|
||||
import org.hibernate.service.ServiceRegistry;
|
||||
import org.hibernate.service.spi.ServiceRegistryImplementor;
|
||||
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
/**
|
||||
@ -128,8 +128,7 @@ private boolean globalQuotingSkippedForColumnDefinitions(ConfigurationService cf
|
||||
return cfgService.getSetting(
|
||||
AvailableSettings.GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN_DEFINITIONS,
|
||||
StandardConverters.BOOLEAN,
|
||||
// default is true for JPA compliance - DO NOT CHANGE!
|
||||
true
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user