diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/DialectSpecificSettings.java b/hibernate-core/src/main/java/org/hibernate/cfg/DialectSpecificSettings.java index 2aa683eb5b..5766304956 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/DialectSpecificSettings.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/DialectSpecificSettings.java @@ -18,14 +18,14 @@ public interface DialectSpecificSettings { * * @settingDefault {@code false} */ - public static final String ORACLE_AUTONOMOUS_DATABASE = "hibernate.dialect.oracle.is_autonomous"; + String ORACLE_AUTONOMOUS_DATABASE = "hibernate.dialect.oracle.is_autonomous"; /** * Specifies whether this database's {@code MAX_STRING_SIZE} is set to {@code EXTENDED}. * * @settingDefault {@code false} */ - public static final String ORACLE_EXTENDED_STRING_SIZE = "hibernate.dialect.oracle.extended_string_size"; + String ORACLE_EXTENDED_STRING_SIZE = "hibernate.dialect.oracle.extended_string_size"; /** * Specifies whether this database is accessed using a database service protected by Application Continuity. @@ -34,14 +34,14 @@ public interface DialectSpecificSettings { * * @see Application Continuity for Java */ - public static final String ORACLE_APPLICATION_CONTINUITY = "hibernate.dialect.oracle.application_continuity"; + String ORACLE_APPLICATION_CONTINUITY = "hibernate.dialect.oracle.application_continuity"; /** * Specifies whether this database's {@code ansinull} setting is enabled. * * @settingDefault {@code false} */ - public static final String SYBASE_ANSI_NULL = "hibernate.dialect.sybase.extended_string_size"; + String SYBASE_ANSI_NULL = "hibernate.dialect.sybase.extended_string_size"; /** * Specifies the bytes per character to use based on the database's configured @@ -49,27 +49,27 @@ public interface DialectSpecificSettings { * * @settingDefault {@code 4} */ - public static final String MYSQL_BYTES_PER_CHARACTER = "hibernate.dialect.mysql.bytes_per_character"; + String MYSQL_BYTES_PER_CHARACTER = "hibernate.dialect.mysql.bytes_per_character"; /** * Specifies whether the {@code NO_BACKSLASH_ESCAPES} sql mode is enabled. * * @settingDefault {@code false} */ - public static final String MYSQL_NO_BACKSLASH_ESCAPES = "hibernate.dialect.mysql.no_backslash_escapes"; + String MYSQL_NO_BACKSLASH_ESCAPES = "hibernate.dialect.mysql.no_backslash_escapes"; /** * Specifies a custom CockroachDB version string. The expected format of the string is * the one returned from the {@code version()} function, e.g.: * {@code "CockroachDB CCL v23.1.8 (x86_64-pc-linux-gnu, built 2023/08/04 18:11:44, go1.19.10)"} */ - public static final String COCKROACH_VERSION_STRING = "hibernate.dialect.cockroach.version_string"; + String COCKROACH_VERSION_STRING = "hibernate.dialect.cockroach.version_string"; /** * Specifies the compatibility level of the SQL Server database as returned by {@code select compatibility_level from sys.databases}. * The number has three digits, the first two digits are the major version, the last digit is the minor version. */ - public static final String SQL_SERVER_COMPATIBILITY_LEVEL = "hibernate.dialect.sqlserver.compatibility_level"; + String SQL_SERVER_COMPATIBILITY_LEVEL = "hibernate.dialect.sqlserver.compatibility_level"; /** * Specifies the LOB prefetch size. LOBs larger than this value will be read into memory as the HANA JDBC driver closes @@ -77,6 +77,6 @@ public interface DialectSpecificSettings { * * @settingDefault {@code 1024} */ - public static final String HANA_MAX_LOB_PREFETCH_SIZE = "hibernate.dialect.hana.max_lob_prefetch_size"; + String HANA_MAX_LOB_PREFETCH_SIZE = "hibernate.dialect.hana.max_lob_prefetch_size"; }