Purpose: Provides Derby DBMS specific behavior.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| pack-priv boolean | isOffsetFetchParameterSupported
< = 10.6.1.0 supports parameters with OFFSET/FETCH - DERBY-4208 |
| protected boolean | isSequenceSupported
Allow sequence support to be disabled for Derby < 10.6.1. |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ExpressionOperator | addOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '+' to be ? |
| protected void | appendByteArray(byte[] bytes, Writer writer)
Overrides org. |
| public int | appendParameterInternal(Call call, Writer writer, Object parameter)
Overrides org. |
| protected ExpressionOperator | |
| protected ExpressionOperator | betweenOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of 'BETWEEN' to be ? |
| protected Hashtable | buildFieldTypes()
Overrides org. |
| public ValueReadQuery | buildSelectQueryForIdentity()
Overrides org. |
| public Writer | buildSequenceObjectDeletionWriter(Writer writer, String fullSeqName)
Overrides org. |
| public int | computeMaxRowsForSQL(int firstResultIndex, int maxResults)
Overrides org. |
| protected ExpressionOperator | concatOperator()
Overrides org. With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '||' to be ? |
| public Object | convertToDatabaseType(Object value)
Overrides org. |
| private static ExpressionOperator | |
| private static ExpressionOperator | |
| protected ExpressionOperator | divideOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '/' to be ? |
| protected ExpressionOperator | equalOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '=' to be ? |
| protected String | getCreateTempTableSqlBodyForTable(DatabaseTable
is original table for which temp table is created. table)Overrides org. |
| protected String | |
| public String | getInOutputProcedureToken()
Overrides org. |
| public Vector | getNativeTableInfo(String table, String creator, AbstractSession session)
Overrides org. |
| public String | getProcedureBeginString()
Overrides org. |
| public String | getProcedureEndString()
Overrides org. |
| public String | getSelectForUpdateString()
Overrides org. |
| public ValueReadQuery | getTimestampQuery()
Overrides org. Implements org. |
| protected ExpressionOperator | greaterThanEqualOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '>=' to be ? |
| protected ExpressionOperator | greaterThanOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '>' to be ? |
| public void | initializeConnectionData(Connection connection)
Overrides org. |
| protected void | initializePlatformOperators()
Overrides org. |
| protected ExpressionOperator | inOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of 'IN' to be ? |
| public boolean | isAlterSequenceObjectSupported()
Overrides org. |
| public boolean | |
| public boolean | isDerby()
Overrides org. Implements org. |
| public boolean | isDynamicSQLRequiredForFunctions()
Overrides org. |
| protected ExpressionOperator | lessThanEqualOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '<=' to be ? |
| protected ExpressionOperator | lessThanOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '<' to be ? |
| protected ExpressionOperator | ltrim2Operator()
Overrides org. With binding enabled, Derby does not throw an exception |
| protected ExpressionOperator | modOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of 'mod' to be ? |
| protected ExpressionOperator | |
| protected ExpressionOperator | notBetweenOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of 'BETWEEN' to be ? |
| protected ExpressionOperator | notEqualOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '<>' to be ? |
| public void | printFieldIdentityClause(Writer writer)
Overrides org. |
| public void | printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement)
Overrides org. |
| protected ExpressionOperator | roundOperator()
Overrides org. |
| protected ExpressionOperator | rtrim2Operator()
Overrides org. With binding enabled, Derby does not throw an exception |
| protected void | setNullFromDatabaseField(DatabaseField databaseField, PreparedStatement statement, int index)
Overrides org. |
| public void | setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)
Overrides org. |
| public void | setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)
Overrides org. |
| public boolean | shouldIgnoreException(SQLException exception)
Overrides org. |
| public boolean | shouldPrintOutputTokenAtStart()
Overrides org. |
| protected boolean | shouldTempTableSpecifyPrimaryKeys()
Overrides org. |
| protected ExpressionOperator | subtractOperator()
Derby requires that at least one argument be a known type With binding enabled, Derby will throw an error: ERROR 42X35: It is not allowed for both operands of '-' to be ? |
| protected ExpressionOperator | |
| public boolean | supportsSequenceObjects()
Overrides org. |
| protected ExpressionOperator | trim2()
Overrides org. With binding enabled, Derby does not throw an exception |
| public void | writeUpdateOriginalFromTempTableSql(Writer
for writing the sql writer, DatabaseTable is original table for which temp table is created. table, Collection<DatabaseField> - primary key fields for the original table. pkFields, Collection<DatabaseField> - fields to be assigned a new value. assignedFields)Overrides org. |