Skip to content

Commit 73dba93

Browse files
committed
remove redundant modifiers in DialectSpecificSettings
1 parent 3818b6d commit 73dba93

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/DialectSpecificSettings.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ public interface DialectSpecificSettings {
1818
*
1919
* @settingDefault {@code false}
2020
*/
21-
public static final String ORACLE_AUTONOMOUS_DATABASE = "hibernate.dialect.oracle.is_autonomous";
21+
String ORACLE_AUTONOMOUS_DATABASE = "hibernate.dialect.oracle.is_autonomous";
2222

2323
/**
2424
* Specifies whether this database's {@code MAX_STRING_SIZE} is set to {@code EXTENDED}.
2525
*
2626
* @settingDefault {@code false}
2727
*/
28-
public static final String ORACLE_EXTENDED_STRING_SIZE = "hibernate.dialect.oracle.extended_string_size";
28+
String ORACLE_EXTENDED_STRING_SIZE = "hibernate.dialect.oracle.extended_string_size";
2929

3030
/**
3131
* Specifies whether this database is accessed using a database service protected by Application Continuity.
@@ -34,49 +34,49 @@ public interface DialectSpecificSettings {
3434
*
3535
* @see <a href="https://docs.oracle.com/en/database/oracle/oracle-database/23/jjdbc/application-continuity.html">Application Continuity for Java</a>
3636
*/
37-
public static final String ORACLE_APPLICATION_CONTINUITY = "hibernate.dialect.oracle.application_continuity";
37+
String ORACLE_APPLICATION_CONTINUITY = "hibernate.dialect.oracle.application_continuity";
3838

3939
/**
4040
* Specifies whether this database's {@code ansinull} setting is enabled.
4141
*
4242
* @settingDefault {@code false}
4343
*/
44-
public static final String SYBASE_ANSI_NULL = "hibernate.dialect.sybase.extended_string_size";
44+
String SYBASE_ANSI_NULL = "hibernate.dialect.sybase.extended_string_size";
4545

4646
/**
4747
* Specifies the bytes per character to use based on the database's configured
4848
* <a href="https://dev.mysql.com/doc/refman/8.0/en/charset-charsets.html">charset</a>.
4949
*
5050
* @settingDefault {@code 4}
5151
*/
52-
public static final String MYSQL_BYTES_PER_CHARACTER = "hibernate.dialect.mysql.bytes_per_character";
52+
String MYSQL_BYTES_PER_CHARACTER = "hibernate.dialect.mysql.bytes_per_character";
5353

5454
/**
5555
* Specifies whether the {@code NO_BACKSLASH_ESCAPES} sql mode is enabled.
5656
*
5757
* @settingDefault {@code false}
5858
*/
59-
public static final String MYSQL_NO_BACKSLASH_ESCAPES = "hibernate.dialect.mysql.no_backslash_escapes";
59+
String MYSQL_NO_BACKSLASH_ESCAPES = "hibernate.dialect.mysql.no_backslash_escapes";
6060

6161
/**
6262
* Specifies a custom CockroachDB version string. The expected format of the string is
6363
* the one returned from the {@code version()} function, e.g.:
6464
* {@code "CockroachDB CCL v23.1.8 (x86_64-pc-linux-gnu, built 2023/08/04 18:11:44, go1.19.10)"}
6565
*/
66-
public static final String COCKROACH_VERSION_STRING = "hibernate.dialect.cockroach.version_string";
66+
String COCKROACH_VERSION_STRING = "hibernate.dialect.cockroach.version_string";
6767

6868
/**
6969
* Specifies the compatibility level of the SQL Server database as returned by {@code select compatibility_level from sys.databases}.
7070
* The number has three digits, the first two digits are the major version, the last digit is the minor version.
7171
*/
72-
public static final String SQL_SERVER_COMPATIBILITY_LEVEL = "hibernate.dialect.sqlserver.compatibility_level";
72+
String SQL_SERVER_COMPATIBILITY_LEVEL = "hibernate.dialect.sqlserver.compatibility_level";
7373

7474
/**
7575
* Specifies the LOB prefetch size. LOBs larger than this value will be read into memory as the HANA JDBC driver closes
7676
* the LOB when the result set is closed.
7777
*
7878
* @settingDefault {@code 1024}
7979
*/
80-
public static final String HANA_MAX_LOB_PREFETCH_SIZE = "hibernate.dialect.hana.max_lob_prefetch_size";
80+
String HANA_MAX_LOB_PREFETCH_SIZE = "hibernate.dialect.hana.max_lob_prefetch_size";
8181

8282
}

0 commit comments

Comments
 (0)