HHH-10662 - Fix inconsistencies between quoting-related configuration properties JavaDocs and their default values assigned at the code level

This commit is contained in:
Vlad Mihalcea 2016-03-31 09:09:02 +03:00
parent de6d80a67b
commit 985229f9a7
2 changed files with 3 additions and 4 deletions

View File

@ -399,7 +399,7 @@ public interface AvailableSettings {
/** /**
* Specifies whether to automatically quote any names that are deemed keywords. Auto-quoting * 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 * @since 5.0
*/ */

View File

@ -32,9 +32,9 @@ import org.hibernate.engine.jdbc.spi.TypeInfo;
import org.hibernate.exception.internal.SQLExceptionTypeDelegate; import org.hibernate.exception.internal.SQLExceptionTypeDelegate;
import org.hibernate.exception.internal.SQLStateConversionDelegate; import org.hibernate.exception.internal.SQLStateConversionDelegate;
import org.hibernate.exception.internal.StandardSQLExceptionConverter; import org.hibernate.exception.internal.StandardSQLExceptionConverter;
import org.hibernate.internal.util.config.ConfigurationHelper;
import org.hibernate.service.ServiceRegistry; import org.hibernate.service.ServiceRegistry;
import org.hibernate.service.spi.ServiceRegistryImplementor; import org.hibernate.service.spi.ServiceRegistryImplementor;
import org.jboss.logging.Logger; import org.jboss.logging.Logger;
/** /**
@ -128,8 +128,7 @@ public class JdbcEnvironmentImpl implements JdbcEnvironment {
return cfgService.getSetting( return cfgService.getSetting(
AvailableSettings.GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN_DEFINITIONS, AvailableSettings.GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN_DEFINITIONS,
StandardConverters.BOOLEAN, StandardConverters.BOOLEAN,
// default is true for JPA compliance - DO NOT CHANGE! false
true
); );
} }