Package org.hibernate.cfg
Interface DialectSpecificSettings
-
public interface DialectSpecificSettingsSettings used as fallback to configure aspects of specificDialects when the boot process does not have access to aDatabaseMetaDataobject or its underlying JDBCConnection.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOCKROACH_VERSION_STRINGSpecifies a custom CockroachDB version string.static StringHANA_MAX_LOB_PREFETCH_SIZESpecifies the LOB prefetch size.static StringMYSQL_BYTES_PER_CHARACTERSpecifies the bytes per character to use based on the database's configured charset.static StringMYSQL_NO_BACKSLASH_ESCAPESSpecifies whether theNO_BACKSLASH_ESCAPESsql mode is enabled.static StringORACLE_APPLICATION_CONTINUITYSpecifies whether this database is accessed using a database service protected by Application Continuity.static StringORACLE_AUTONOMOUS_DATABASESpecifies whether this database is running on an Autonomous Database Cloud Service.static StringORACLE_EXTENDED_STRING_SIZESpecifies whether this database'sMAX_STRING_SIZEis set toEXTENDED.static StringSQL_SERVER_COMPATIBILITY_LEVELSpecifies the compatibility level of the SQL Server database as returned byselect compatibility_level from sys.databases.static StringSYBASE_ANSI_NULLSpecifies whether this database'sansinullsetting is enabled.
-
-
-
Field Detail
-
ORACLE_AUTONOMOUS_DATABASE
static final String ORACLE_AUTONOMOUS_DATABASE
Specifies whether this database is running on an Autonomous Database Cloud Service.- See Also:
- Constant Field Values
- Default Value:
false
-
ORACLE_EXTENDED_STRING_SIZE
static final String ORACLE_EXTENDED_STRING_SIZE
Specifies whether this database'sMAX_STRING_SIZEis set toEXTENDED.- See Also:
- Constant Field Values
- Default Value:
false
-
ORACLE_APPLICATION_CONTINUITY
static final String ORACLE_APPLICATION_CONTINUITY
Specifies whether this database is accessed using a database service protected by Application Continuity.- See Also:
- Application Continuity for Java, Constant Field Values
- Default Value:
false
-
SYBASE_ANSI_NULL
static final String SYBASE_ANSI_NULL
Specifies whether this database'sansinullsetting is enabled.- See Also:
- Constant Field Values
- Default Value:
false
-
MYSQL_BYTES_PER_CHARACTER
static final String MYSQL_BYTES_PER_CHARACTER
Specifies the bytes per character to use based on the database's configured charset.- See Also:
- Constant Field Values
- Default Value:
4
-
MYSQL_NO_BACKSLASH_ESCAPES
static final String MYSQL_NO_BACKSLASH_ESCAPES
Specifies whether theNO_BACKSLASH_ESCAPESsql mode is enabled.- See Also:
- Constant Field Values
- Default Value:
false
-
COCKROACH_VERSION_STRING
static final String 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)"- See Also:
- Constant Field Values
-
SQL_SERVER_COMPATIBILITY_LEVEL
static final String 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.- See Also:
- Constant Field Values
-
HANA_MAX_LOB_PREFETCH_SIZE
static final String 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.- See Also:
- Constant Field Values
- Default Value:
1024
-
-