15
15
public interface DialectSpecificSettings {
16
16
/**
17
17
* Specifies whether this database is running on an Autonomous Database Cloud Service.
18
+ * <p>
19
+ * Ignored if Hibernate is able to determine this by querying the Oracle server at startup.
18
20
*
19
21
* @settingDefault {@code false}
20
22
*/
21
23
String ORACLE_AUTONOMOUS_DATABASE = "hibernate.dialect.oracle.is_autonomous" ;
22
24
23
25
/**
24
- * Specifies whether this database's {@code MAX_STRING_SIZE} is set to {@code EXTENDED}.
26
+ * Specifies whether {@code MAX_STRING_SIZE} is set to {@code EXTENDED} on Oracle.
27
+ * <p>
28
+ * Ignored if Hibernate is able to determine the value of {@code MAX_STRING_SIZE} by
29
+ * querying the Oracle server at startup.
25
30
*
26
31
* @settingDefault {@code false}
27
32
*/
28
33
String ORACLE_EXTENDED_STRING_SIZE = "hibernate.dialect.oracle.extended_string_size" ;
29
34
30
35
/**
31
36
* Specifies whether this database is accessed using a database service protected by Application Continuity.
37
+ * <p>
38
+ * Ignored if Hibernate is able to determine this by querying the Oracle server at startup.
32
39
*
33
40
* @settingDefault {@code false}
34
41
*
@@ -37,21 +44,27 @@ public interface DialectSpecificSettings {
37
44
String ORACLE_APPLICATION_CONTINUITY = "hibernate.dialect.oracle.application_continuity" ;
38
45
39
46
/**
40
- * Specifies whether this database's {@code ansinull} setting is enabled.
41
47
* Enables the use of the deprecated type {@code LONGVARBINARY} on Oracle instead of {@code BLOB}.
42
48
*
43
49
* @settingDefault {@code false}
44
50
*/
45
51
String ORACLE_PREFER_LONG_RAW = "hibernate.dialect.oracle.prefer_long_raw" ;
46
52
47
53
/**
54
+ * Specifies whether the {@code ansinull} setting is enabled on Sybase.
55
+ * <p>
56
+ * Ignored if Hibernate is able to determine the value of {@code ansinull}
57
+ * by querying the server {@code @@options} at startup.
48
58
*
49
59
* @settingDefault {@code false}
50
60
*/
51
61
String SYBASE_ANSI_NULL = "hibernate.dialect.sybase.extended_string_size" ;
52
62
53
63
/**
54
64
* Specifies the maximum page size on Sybase.
65
+ * <p>
66
+ * Ignored if Hibernate is able to determine the page size by querying the
67
+ * server {@code @@maxpagesize} at startup.
55
68
*
56
69
* @settingDefault {@value org.hibernate.dialect.SybaseASEDialect#MAX_PAGE_SIZE}
57
70
*/
@@ -60,13 +73,19 @@ public interface DialectSpecificSettings {
60
73
/**
61
74
* Specifies the bytes per character to use based on the database's configured
62
75
* <a href="https://dev.mysql.com/doc/refman/8.0/en/charset-charsets.html">charset</a>.
76
+ * <p>
77
+ * Ignored if Hibernate is able to determine the character set by querying the
78
+ * server {@code @@character_set_database} at startup.
63
79
*
64
80
* @settingDefault {@code 4}
65
81
*/
66
82
String MYSQL_BYTES_PER_CHARACTER = "hibernate.dialect.mysql.bytes_per_character" ;
67
83
68
84
/**
69
85
* Specifies whether the {@code NO_BACKSLASH_ESCAPES} sql mode is enabled.
86
+ * <p>
87
+ * Ignored if Hibernate is able to determine this by querying the server
88
+ * {@code @@sql_mode} at startup.
70
89
*
71
90
* @settingDefault {@code false}
72
91
*/
@@ -76,18 +95,28 @@ public interface DialectSpecificSettings {
76
95
* Specifies a custom CockroachDB version string. The expected format of the string is
77
96
* the one returned from the {@code version()} function, e.g.:
78
97
* {@code "CockroachDB CCL v23.1.8 (x86_64-pc-linux-gnu, built 2023/08/04 18:11:44, go1.19.10)"}
98
+ * <p>
99
+ * Ignored if Hibernate is able to obtain the version string by querying the server at startup.
79
100
*/
80
101
String COCKROACH_VERSION_STRING = "hibernate.dialect.cockroach.version_string" ;
81
102
82
103
/**
83
- * Specifies the compatibility level of the SQL Server database as returned by {@code select compatibility_level from sys.databases}.
84
- * The number has three digits, the first two digits are the major version, the last digit is the minor version.
104
+ * Specifies the compatibility level of the SQL Server database as returned by
105
+ * {@code select compatibility_level from sys.databases}.
106
+ * <p>
107
+ * The number has three digits: the first two digits are the major version,
108
+ * the last digit is the minor version.
109
+ * <p>
110
+ * Ignored if Hibernate is able to determine this by querying the {@code sys.databases}
111
+ * table at startup.
85
112
*/
86
113
String SQL_SERVER_COMPATIBILITY_LEVEL = "hibernate.dialect.sqlserver.compatibility_level" ;
87
114
88
115
/**
89
- * Specifies the LOB prefetch size. LOBs larger than this value will be read into memory as the HANA JDBC driver closes
90
- * the LOB when the result set is closed.
116
+ * Specifies the LOB prefetch size. LOBs larger than this value will be read into
117
+ * memory as the HANA JDBC driver closes the LOB when the result set is closed.
118
+ * <p>
119
+ * Ignored if Hibernate is able to determine this by querying the server at startup.
91
120
*
92
121
* @settingDefault {@code 1024}
93
122
*/
0 commit comments