Interface DialectSpecificSettings
Dialects
when the boot process does not have access to a DatabaseMetaData object or
its underlying JDBC Connection.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpecifies a custom CockroachDB version string.static final StringSpecifies the LOB prefetch size.static final StringSpecifies the bytes per character to use based on the database's configured charset.static final StringSpecifies whether theNO_BACKSLASH_ESCAPESsql mode is enabled.static final StringSpecifies whether this database is accessed using a database service protected by Application Continuity.static final StringSpecifies whether this database is running on an Autonomous Database Cloud Service.static final StringSpecifies whetherMAX_STRING_SIZEis set toEXTENDEDon Oracle.static final StringSpecifies whether usage of the Oracle JSON binary format (also known as OSON) should be disabled.static final StringSpecifies whether the dialect should use the binary IEEE Oracle SQL typesbinary_float/binary_doubleoverfloat(p)/real/double precisionwhen generating DDL or SQL casts for float types.static final StringSpecifies the compatibility level of the SQL Server database as returned byselect compatibility_level from sys.databases.static final StringSpecifies whether theansinullsetting is enabled on Sybase.static final StringSpecifies the maximum page size on Sybase.
-
Field Details
-
ORACLE_AUTONOMOUS_DATABASE
Specifies whether this database is running on an Autonomous Database Cloud Service.Ignored if Hibernate is able to determine this by querying the Oracle server at startup.
- See Also:
- Default Value:
false
-
ORACLE_EXTENDED_STRING_SIZE
Specifies whetherMAX_STRING_SIZEis set toEXTENDEDon Oracle.Ignored if Hibernate is able to determine the value of
MAX_STRING_SIZEby querying the Oracle server at startup.- See Also:
- Default Value:
false
-
ORACLE_APPLICATION_CONTINUITY
Specifies whether this database is accessed using a database service protected by Application Continuity.Ignored if Hibernate is able to determine this by querying the Oracle server at startup.
- See Also:
- Default Value:
false
-
ORACLE_USE_BINARY_FLOATS
Specifies whether the dialect should use the binary IEEE Oracle SQL typesbinary_float/binary_doubleoverfloat(p)/real/double precisionwhen generating DDL or SQL casts for float types.- Since:
- 7.0
- See Also:
- Default Value:
true
-
ORACLE_OSON_DISABLED
Specifies whether usage of the Oracle JSON binary format (also known as OSON) should be disabled.Starting in 21c, if the ojdbc-provider-jackson-oson extension is available, JSON data in an oracle database is stored using the OSON binary format. This setting can be used to fallback to the old implementation based on String serialization.
- Since:
- 7.0
- See Also:
- Default Value:
false
-
SYBASE_ANSI_NULL
Specifies whether theansinullsetting is enabled on Sybase.Ignored if Hibernate is able to determine the value of
ansinullby querying the server@@optionsat startup.- See Also:
- Default Value:
false
-
SYBASE_PAGE_SIZE
Specifies the maximum page size on Sybase.Ignored if Hibernate is able to determine the page size by querying the server
@@maxpagesizeat startup.- See Also:
- Default Value:
- 16384
-
MYSQL_BYTES_PER_CHARACTER
Specifies the bytes per character to use based on the database's configured charset.Ignored if Hibernate is able to determine the character set by querying the server
@@character_set_databaseat startup.- See Also:
- Default Value:
4
-
MYSQL_NO_BACKSLASH_ESCAPES
Specifies whether theNO_BACKSLASH_ESCAPESsql mode is enabled.Ignored if Hibernate is able to determine this by querying the server
@@sql_modeat startup.- See Also:
- Default Value:
false
-
COCKROACH_VERSION_STRING
Specifies a custom CockroachDB version string. The expected format of the string is the one returned from theversion()function, e.g.:"CockroachDB CCL v23.1.8 (x86_64-pc-linux-gnu, built 2023/08/04 18:11:44, go1.19.10)"Ignored if Hibernate is able to obtain the version string by querying the server at startup.
- See Also:
-
SQL_SERVER_COMPATIBILITY_LEVEL
Specifies the compatibility level of the SQL Server database as returned byselect 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.
Ignored if Hibernate is able to determine this by querying the
sys.databasestable at startup.- See Also:
-
HANA_MAX_LOB_PREFETCH_SIZE
Specifies the LOB prefetch size. LOBs larger than this value will be read into memory as the HANA JDBC driver closes the LOB when the result set is closed.Ignored if Hibernate is able to determine this by querying the server at startup.
- See Also:
- Default Value:
1024
-