| Modifier and Type | Class and Description |
|---|---|
| public static enum | Mode.
When CHAR values are right-padded with spaces. |
| public static enum | Mode.
Generation of column names for expressions. |
| public static enum | |
| public static enum | Mode.
Generation of column names for expressions to be used in a view. |
| Modifier and Type | Field and Description |
|---|---|
| public boolean | acceptsCommaAsJsonKeyValueSeparator
Accepts comma ',' as key/value separator in JSON_OBJECT and JSON_OBJECTAGG functions. |
| public boolean | aliasColumnName
When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the alias (I in this case) in ResultSetMetaData.getColumnName() and 'null' in getTableName(). |
| public boolean | allNumericTypesHavePrecision
If |
| public boolean | allowDB2TimestampFormat
Whether DB2 TIMESTAMP formats are allowed. |
| public boolean | allowEmptyInPredicate
Whether IN predicate may have an empty value list. |
| public boolean | allowEmptySchemaValuesAsDefaultSchema
If |
| public boolean | allowPlusForStringConcat
Text can be concatenated using '+'. |
| public boolean | allowUnrelatedOrderByExpressionsInDistinctQueries
If |
| public boolean | allowUsingFromClauseInUpdateStatement
If |
| public boolean | alterTableExtensionsMySQL
If |
| public boolean | alterTableModifyColumn
If |
| public boolean | alterTableModifyColumnPreserveNullability
If |
| public boolean | autoIncrementClause
Whether MySQL-style AUTO_INCREMENT clause is supported. |
| public boolean | charAndByteLengthUnits
If |
| public Mode. | charPadding
How to pad or trim CHAR values. |
| public boolean | convertOnlyToSmallerScale
When converting the scale of decimal data, the number is only converted if the new scale is smaller than the current scale. |
| public boolean | createUniqueConstraintForReferencedColumns
If |
| public boolean | dateIsTimestamp0
Whether DATE data type is parsed as TIMESTAMP(0). |
| public boolean | dateTimeValueWithinTransaction
If |
| public boolean | decimalSequences
If |
| public boolean | deleteIdentifierFrom
If |
| public Set | disallowedTypes
An optional Set of hidden/disallowed column types. |
| public boolean | discardWithTableHints
Discard SQLServer table hints (e.g. "SELECT * FROM table WITH (NOLOCK)") |
| public Mode. | expressionNames
How column names are generated for expressions. |
| public boolean | forBitData
If |
| public boolean | greatestLeastIgnoreNulls
If |
| public boolean | groupByColumnIndex
Allow to use GROUP BY n, where n is column index in the SELECT list, similar to ORDER BY |
| public boolean | identityClause
Whether SQL Server-style IDENTITY clause is supported. |
| public boolean | identityColumnsHaveDefaultOnNull
If |
| public boolean | identityDataType
Whether IDENTITY pseudo data type is supported. |
| public boolean | indexDefinitionInCreateTable
Creating indexes in the CREATE TABLE statement is allowed using
|
| public boolean | insertOnConflict
PostgreSQL style INSERT ... |
| public boolean | isolationLevelInSelectOrInsertStatement
can set the isolation level using WITH {RR|RS|CS|UR} |
| public boolean | limit
Whether LIMIT / OFFSET clauses are supported. |
| public boolean | logIsLogBase10
The single-argument function LOG() uses base 10 instead of E. |
| public boolean | mergeWhere
If |
| public boolean | minusIsExcept
Whether MINUS can be used as EXCEPT. |
| private final Mode. | |
| private static final HashMap | |
| public boolean | mySqlTableOptions
If |
| private final String | |
| public boolean | nextvalAndCurrvalPseudoColumns
If |
| public boolean | nextValueReturnsDifferentValues
If |
| public NullsDistinct | nullsDistinct
Determines how rows with |
| public boolean | numericIsDecfloat
Whether NUMERIC and DECIMAL/DEC without parameters are parsed as DECFLOAT. |
| public boolean | numericWithBooleanComparison
Allow to compare numeric with BOOLEAN. |
| public boolean | onDuplicateKeyUpdate
MySQL style INSERT ... |
| public boolean | regexpReplaceBackslashReferences
The function REGEXP_REPLACE() uses \ for back-references. |
| public boolean | replaceInto
MySQL style REPLACE INTO. |
| public boolean | serialDataTypes
Whether SERIAL and BIGSERIAL pseudo data types are supported. |
| public boolean | squareBracketQuotedNames
Identifiers may be quoted using square brackets as in [Test]. |
| public Pattern | supportedClientInfoPropertiesRegEx
Pattern describing the keys the java.sql.Connection.setClientInfo() method accepts. |
| public boolean | supportPoundSymbolForColumnNames
Support the # for column names |
| public boolean | swapConvertFunctionParameters
Swap the parameters of the CONVERT function. |
| public boolean | swapLogFunctionParameters
Swap the parameters of LOG() function. |
| public boolean | sysDummy1
Support the pseudo-table SYSIBM.SYSDUMMY1. |
| public boolean | systemColumns
The system columns 'ctid' and 'oid' are supported. |
| public boolean | takeGeneratedSequenceValue
If |
| public boolean | takeInsertedIdentity
If |
| public boolean | topInDML
Whether TOP clause in DML commands is supported. |
| public boolean | topInSelect
Whether TOP clause in SELECT queries is supported. |
| public boolean | treatEmptyStringsAsNull
Empty strings are treated like NULL values. |
| public boolean | truncateTableRestartIdentity
If |
| public HashMap | typeByNameMap
Custom mappings from type names to data types. |
| public boolean | updateSequenceOnManualIdentityInsertion
If |
| public Mode. | viewExpressionNames
How column names are generated for views. |
| public boolean | zeroExLiteralsAreBinaryStrings
If |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public Mode. | |
| public static Mode | Returns: the mode objectthe name of the mode name)Get the mode with the given name. |
| public String | |
| public static Mode | |
| public String |
| acceptsCommaAsJsonKeyValueSeparator | back to summary |
|---|---|
| public boolean acceptsCommaAsJsonKeyValueSeparator Accepts comma ',' as key/value separator in JSON_OBJECT and JSON_OBJECTAGG functions. | |
| aliasColumnName | back to summary |
|---|---|
| public boolean aliasColumnName When enabled, aliased columns (as in SELECT ID AS I FROM TEST) return the alias (I in this case) in ResultSetMetaData.getColumnName() and 'null' in getTableName(). If disabled, the real column name (ID in this case) and table name is returned. | |
| allNumericTypesHavePrecision | back to summary |
|---|---|
| public boolean allNumericTypesHavePrecision If | |
| allowDB2TimestampFormat | back to summary |
|---|---|
| public boolean allowDB2TimestampFormat Whether DB2 TIMESTAMP formats are allowed. | |
| allowEmptyInPredicate | back to summary |
|---|---|
| public boolean allowEmptyInPredicate Whether IN predicate may have an empty value list. | |
| allowEmptySchemaValuesAsDefaultSchema | back to summary |
|---|---|
| public boolean allowEmptySchemaValuesAsDefaultSchema If | |
| allowPlusForStringConcat | back to summary |
|---|---|
| public boolean allowPlusForStringConcat Text can be concatenated using '+'. | |
| allowUnrelatedOrderByExpressionsInDistinctQueries | back to summary |
|---|---|
| public boolean allowUnrelatedOrderByExpressionsInDistinctQueries If | |
| allowUsingFromClauseInUpdateStatement | back to summary |
|---|---|
| public boolean allowUsingFromClauseInUpdateStatement If | |
| alterTableExtensionsMySQL | back to summary |
|---|---|
| public boolean alterTableExtensionsMySQL If | |
| alterTableModifyColumn | back to summary |
|---|---|
| public boolean alterTableModifyColumn If | |
| alterTableModifyColumnPreserveNullability | back to summary |
|---|---|
| public boolean alterTableModifyColumnPreserveNullability If | |
| autoIncrementClause | back to summary |
|---|---|
| public boolean autoIncrementClause Whether MySQL-style AUTO_INCREMENT clause is supported. | |
| charAndByteLengthUnits | back to summary |
|---|---|
| public boolean charAndByteLengthUnits If | |
| charPadding | back to summary |
|---|---|
| public Mode. How to pad or trim CHAR values. | |
| convertOnlyToSmallerScale | back to summary |
|---|---|
| public boolean convertOnlyToSmallerScale When converting the scale of decimal data, the number is only converted if the new scale is smaller than the current scale. Usually, the scale is converted and 0s are added if required. | |
| createUniqueConstraintForReferencedColumns | back to summary |
|---|---|
| public boolean createUniqueConstraintForReferencedColumns If | |
| dateIsTimestamp0 | back to summary |
|---|---|
| public boolean dateIsTimestamp0 Whether DATE data type is parsed as TIMESTAMP(0). | |
| dateTimeValueWithinTransaction | back to summary |
|---|---|
| public boolean dateTimeValueWithinTransaction If | |
| decimalSequences | back to summary |
|---|---|
| public boolean decimalSequences If | |
| deleteIdentifierFrom | back to summary |
|---|---|
| public boolean deleteIdentifierFrom If | |
| disallowedTypes | back to summary |
|---|---|
| public Set<String> disallowedTypes An optional Set of hidden/disallowed column types. Certain DBMSs don't support all column types provided by H2, such as "NUMBER" when using PostgreSQL mode. | |
| discardWithTableHints | back to summary |
|---|---|
| public boolean discardWithTableHints Discard SQLServer table hints (e.g. "SELECT * FROM table WITH (NOLOCK)") | |
| expressionNames | back to summary |
|---|---|
| public Mode. How column names are generated for expressions. | |
| forBitData | back to summary |
|---|---|
| public boolean forBitData If | |
| greatestLeastIgnoreNulls | back to summary |
|---|---|
| public boolean greatestLeastIgnoreNulls If | |
| groupByColumnIndex | back to summary |
|---|---|
| public boolean groupByColumnIndex Allow to use GROUP BY n, where n is column index in the SELECT list, similar to ORDER BY | |
| identityClause | back to summary |
|---|---|
| public boolean identityClause Whether SQL Server-style IDENTITY clause is supported. | |
| identityColumnsHaveDefaultOnNull | back to summary |
|---|---|
| public boolean identityColumnsHaveDefaultOnNull If | |
| identityDataType | back to summary |
|---|---|
| public boolean identityDataType Whether IDENTITY pseudo data type is supported. | |
| indexDefinitionInCreateTable | back to summary |
|---|---|
| public boolean indexDefinitionInCreateTable Creating indexes in the CREATE TABLE statement is allowed using
| |
| insertOnConflict | back to summary |
|---|---|
| public boolean insertOnConflict PostgreSQL style INSERT ... ON CONFLICT DO NOTHING. | |
| isolationLevelInSelectOrInsertStatement | back to summary |
|---|---|
| public boolean isolationLevelInSelectOrInsertStatement can set the isolation level using WITH {RR|RS|CS|UR} | |
| limit | back to summary |
|---|---|
| public boolean limit Whether LIMIT / OFFSET clauses are supported. | |
| logIsLogBase10 | back to summary |
|---|---|
| public boolean logIsLogBase10 The single-argument function LOG() uses base 10 instead of E. | |
| mergeWhere | back to summary |
|---|---|
| public boolean mergeWhere If | |
| minusIsExcept | back to summary |
|---|---|
| public boolean minusIsExcept Whether MINUS can be used as EXCEPT. | |
| modeEnum | back to summary |
|---|---|
| private final Mode. | |
| MODES | back to summary |
|---|---|
| private static final HashMap<String, Mode> MODES | |
| mySqlTableOptions | back to summary |
|---|---|
| public boolean mySqlTableOptions If | |
| name | back to summary |
|---|---|
| private final String name | |
| nextvalAndCurrvalPseudoColumns | back to summary |
|---|---|
| public boolean nextvalAndCurrvalPseudoColumns If | |
| nextValueReturnsDifferentValues | back to summary |
|---|---|
| public boolean nextValueReturnsDifferentValues If | |
| nullsDistinct | back to summary |
|---|---|
| public NullsDistinct nullsDistinct Determines how rows with | |
| numericIsDecfloat | back to summary |
|---|---|
| public boolean numericIsDecfloat Whether NUMERIC and DECIMAL/DEC without parameters are parsed as DECFLOAT. | |
| numericWithBooleanComparison | back to summary |
|---|---|
| public boolean numericWithBooleanComparison Allow to compare numeric with BOOLEAN. | |
| onDuplicateKeyUpdate | back to summary |
|---|---|
| public boolean onDuplicateKeyUpdate MySQL style INSERT ... ON DUPLICATE KEY UPDATE ... and INSERT IGNORE. | |
| regexpReplaceBackslashReferences | back to summary |
|---|---|
| public boolean regexpReplaceBackslashReferences The function REGEXP_REPLACE() uses \ for back-references. | |
| replaceInto | back to summary |
|---|---|
| public boolean replaceInto MySQL style REPLACE INTO. | |
| serialDataTypes | back to summary |
|---|---|
| public boolean serialDataTypes Whether SERIAL and BIGSERIAL pseudo data types are supported. | |
| squareBracketQuotedNames | back to summary |
|---|---|
| public boolean squareBracketQuotedNames Identifiers may be quoted using square brackets as in [Test]. | |
| supportedClientInfoPropertiesRegEx | back to summary |
|---|---|
| public Pattern supportedClientInfoPropertiesRegEx Pattern describing the keys the java.sql.Connection.setClientInfo() method accepts. | |
| supportPoundSymbolForColumnNames | back to summary |
|---|---|
| public boolean supportPoundSymbolForColumnNames Support the # for column names | |
| swapConvertFunctionParameters | back to summary |
|---|---|
| public boolean swapConvertFunctionParameters Swap the parameters of the CONVERT function. | |
| swapLogFunctionParameters | back to summary |
|---|---|
| public boolean swapLogFunctionParameters Swap the parameters of LOG() function. | |
| sysDummy1 | back to summary |
|---|---|
| public boolean sysDummy1 Support the pseudo-table SYSIBM.SYSDUMMY1. | |
| systemColumns | back to summary |
|---|---|
| public boolean systemColumns The system columns 'ctid' and 'oid' are supported. | |
| takeGeneratedSequenceValue | back to summary |
|---|---|
| public boolean takeGeneratedSequenceValue If | |
| takeInsertedIdentity | back to summary |
|---|---|
| public boolean takeInsertedIdentity If | |
| topInDML | back to summary |
|---|---|
| public boolean topInDML Whether TOP clause in DML commands is supported. | |
| topInSelect | back to summary |
|---|---|
| public boolean topInSelect Whether TOP clause in SELECT queries is supported. | |
| treatEmptyStringsAsNull | back to summary |
|---|---|
| public boolean treatEmptyStringsAsNull Empty strings are treated like NULL values. Useful for Oracle emulation. | |
| truncateTableRestartIdentity | back to summary |
|---|---|
| public boolean truncateTableRestartIdentity If | |
| typeByNameMap | back to summary |
|---|---|
| public HashMap<String, DataType> typeByNameMap Custom mappings from type names to data types. | |
| updateSequenceOnManualIdentityInsertion | back to summary |
|---|---|
| public boolean updateSequenceOnManualIdentityInsertion If | |
| viewExpressionNames | back to summary |
|---|---|
| public Mode. How column names are generated for views. | |
| zeroExLiteralsAreBinaryStrings | back to summary |
|---|---|
| public boolean zeroExLiteralsAreBinaryStrings If | |
| Mode | back to summary |
|---|---|
| private Mode(Mode. | |
| add | back to summary |
|---|---|
| private static void add(Mode mode) | |
| getEnum | back to summary |
|---|---|
| public Mode. | |
| getInstance | back to summary |
|---|---|
| public static Mode getInstance(String name) Get the mode with the given name. | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getRegular | back to summary |
|---|---|
| public static Mode getRegular() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Mode. | ALWAYS
CHAR values are always right-padded with spaces. |
| public static final Mode. | IN_RESULT_SETS
Spaces are trimmed from the right side of CHAR values, but CHAR values in result sets are right-padded with spaces to the declared length |
| public static final Mode. | NEVER
Spaces are trimmed from the right side of CHAR values. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Mode. | |
| public static Mode. |
| ALWAYS | back to summary |
|---|---|
| public static final Mode. CHAR values are always right-padded with spaces. | |
| IN_RESULT_SETS | back to summary |
|---|---|
| public static final Mode. Spaces are trimmed from the right side of CHAR values, but CHAR values in result sets are right-padded with spaces to the declared length | |
| NEVER | back to summary |
|---|---|
| public static final Mode. Spaces are trimmed from the right side of CHAR values. | |
| CharPadding | back to summary |
|---|---|
| private CharPadding() | |
| valueOf | back to summary |
|---|---|
| public static Mode. | |
| values | back to summary |
|---|---|
| public static Mode. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Mode. | C_NUMBER
Use ordinal number of a column with C prefix. |
| public static final Mode. | EMPTY
Generate empty name. |
| public static final Mode. | NUMBER
Use ordinal number of a column. |
| public static final Mode. | OPTIMIZED_SQL
Use optimized SQL representation of expression. |
| public static final Mode. | ORIGINAL_SQL
Use original SQL representation of expression. |
| public static final Mode. | POSTGRESQL_STYLE
Use function name for functions and ?column? |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Mode. | |
| public static Mode. |
| C_NUMBER | back to summary |
|---|---|
| public static final Mode. Use ordinal number of a column with C prefix. | |
| EMPTY | back to summary |
|---|---|
| public static final Mode. Generate empty name. | |
| NUMBER | back to summary |
|---|---|
| public static final Mode. Use ordinal number of a column. | |
| OPTIMIZED_SQL | back to summary |
|---|---|
| public static final Mode. Use optimized SQL representation of expression. | |
| ORIGINAL_SQL | back to summary |
|---|---|
| public static final Mode. Use original SQL representation of expression. | |
| POSTGRESQL_STYLE | back to summary |
|---|---|
| public static final Mode. Use function name for functions and ?column? for other expressions | |
| ExpressionNames | back to summary |
|---|---|
| private ExpressionNames() | |
| valueOf | back to summary |
|---|---|
| public static Mode. | |
| values | back to summary |
|---|---|
| public static Mode. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. | |
| public static final Mode. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Mode. | |
| public static Mode. |
| DB2 | back to summary |
|---|---|
| public static final Mode. | |
| Derby | back to summary |
|---|---|
| public static final Mode. | |
| HSQLDB | back to summary |
|---|---|
| public static final Mode. | |
| LEGACY | back to summary |
|---|---|
| public static final Mode. | |
| MariaDB | back to summary |
|---|---|
| public static final Mode. | |
| MSSQLServer | back to summary |
|---|---|
| public static final Mode. | |
| MySQL | back to summary |
|---|---|
| public static final Mode. | |
| Oracle | back to summary |
|---|---|
| public static final Mode. | |
| PostgreSQL | back to summary |
|---|---|
| public static final Mode. | |
| REGULAR | back to summary |
|---|---|
| public static final Mode. | |
| STRICT | back to summary |
|---|---|
| public static final Mode. | |
| ModeEnum | back to summary |
|---|---|
| private ModeEnum() | |
| valueOf | back to summary |
|---|---|
| public static Mode. | |
| values | back to summary |
|---|---|
| public static Mode. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Mode. | AS_IS
Use both specified and generated names as is. |
| public static final Mode. | EXCEPTION
Throw exception for unspecified names. |
| public static final Mode. | MYSQL_STYLE
Use both specified and generated names as is, but replace too long
generated names with |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Mode. | |
| public static Mode. |
| AS_IS | back to summary |
|---|---|
| public static final Mode. Use both specified and generated names as is. | |
| EXCEPTION | back to summary |
|---|---|
| public static final Mode. Throw exception for unspecified names. | |
| MYSQL_STYLE | back to summary |
|---|---|
| public static final Mode. Use both specified and generated names as is, but replace too long
generated names with | |
| ViewExpressionNames | back to summary |
|---|---|
| private ViewExpressionNames() | |
| valueOf | back to summary |
|---|---|
| public static Mode. | |
| values | back to summary |
|---|---|
| public static Mode. | |