Deprecated
Use either Oracle9iDialect or Oracle10gDialect instead
| Modifier and Type | Field and Description |
|---|---|
| private static final ViolatedConstraintNameExtracter | |
| private static final CoreMessageLogger | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bindLimitParametersInReverseOrder()
Overrides org. |
| public boolean | canCreateSchema()
Does this dialect support schema creation?
|
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public boolean | forUpdateOfColumns()
Is FOR UPDATE OF syntax supported?
|
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCascadeConstraintsString()
Overrides org. |
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public MultiTableBulkIdStrategy | |
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getForUpdateNowaitString()
Overrides org. |
| public String | getForUpdateNowaitString(String
The columns to be write locked. aliases)Overrides org. |
| public String | getForUpdateString(String
The columns to be write locked. aliases)
Get the FOR UPDATE OF column_list fragment appropriate for this
dialect given the aliases of the columns to be write locked.
|
| public int | getInExpressionCountLimit()
Overrides org. IN predicate.
|
| public String | getLimitString(String
The query to which to apply the limit. sql, boolean Is the query requesting an offset? hasOffset)Overrides org. |
| public String | getNotExpression(String
The expression to negate expression)
Negate an expression
|
| public String | getQuerySequencesString()
Overrides org. |
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter,
extract the ResultSet from the OUT parameter.
|
| public String | getSelectGUIDString()
Overrides org. |
| public String | getSelectSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public SequenceInformationExtractor | |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public ViolatedConstraintNameExtracter | |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
be treated as callable.
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. col)Overrides org. ResultSet *by position*.
|
| public boolean | supportsCommentOn()
Does this dialect/database support commenting on tables, columns, etc?
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsNoWait()
Overrides org. |
| public boolean | supportsPooledSequences()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsUnionAll()
Does this dialect support UNION ALL, which is generally a faster
variant of UNION?
|
| public boolean | useMaxForLimit()
Overrides org. |
| EXTRACTER | back to summary |
|---|---|
| private static final ViolatedConstraintNameExtracter EXTRACTER | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| PARAM_LIST_SIZE_LIMIT | back to summary |
|---|---|
| private static final int PARAM_LIST_SIZE_LIMIT | |
| Oracle9Dialect | back to summary |
|---|---|
| public Oracle9Dialect() Constructs an Oracle9Dialect | |
| bindLimitParametersInReverseOrder | back to summary |
|---|---|
| public boolean bindLimitParametersInReverseOrder() Overrides org. Doc from org. ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit. Does this dialect require us to bind the parameters in reverse order?
| |
| canCreateSchema | back to summary |
|---|---|
| public boolean canCreateSchema() Overrides org. Doc from org. Does this dialect support schema creation?
| |
| dropConstraints | back to summary |
|---|---|
| public boolean dropConstraints() Overrides org. Doc from org. Do we need to drop constraints before dropping tables in this dialect?
| |
| forUpdateOfColumns | back to summary |
|---|---|
| public boolean forUpdateOfColumns() Overrides org. Doc from org. Is FOR UPDATE OF syntax supported?
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getCascadeConstraintsString | back to summary |
|---|---|
| public String getCascadeConstraintsString() Overrides org. Doc from org. Completely optional cascading drop clause | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) Overrides org. Doc from org. Typically dialects which support sequences can create a sequence
with a single command. This is convenience form of
Dialects which support sequences and can create a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to create
a sequence should instead override | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database. | |
| getDefaultMultiTableBulkIdStrategy | back to summary |
|---|---|
| public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy() Overrides org.
| |
| getDropSequenceString | back to summary |
|---|---|
| public String getDropSequenceString(String sequenceName) Overrides org. Doc from org. Typically dialects which support sequences can drop a sequence
with a single command. This is convenience form of
Dialects which support sequences and can drop a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to drop
a sequence should instead override | |
| getForUpdateNowaitString | back to summary |
|---|---|
| public String getForUpdateNowaitString() Overrides org. Doc from org. Retrieves the FOR UPDATE NOWAIT syntax specific to this dialect. | |
| getForUpdateNowaitString | back to summary |
|---|---|
| public String getForUpdateNowaitString(String aliases) Overrides org. Doc from org. Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked. | |
| getForUpdateString | back to summary |
|---|---|
| public String getForUpdateString(String aliases) Overrides org. Doc from org. Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked. | |
| getInExpressionCountLimit | back to summary |
|---|---|
| public int getInExpressionCountLimit() Overrides org. Doc from org. Return the limit that the underlying database places on the number of elements in an
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String sql, boolean hasOffset) Overrides org. Doc from org. Apply a limit clause to the query.
Typically dialects utilize
Here we do still pass along whether or not an offset was specified
so that dialects not supporting offsets can generate proper exceptions.
In general, dialects will override one or the other of this method and
| |
| getNotExpression | back to summary |
|---|---|
| public String getNotExpression(String expression) Overrides org. Doc from org. Negate an expression | |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the select command used retrieve the names of all sequences. | |
| getResultSet | back to summary |
|---|---|
| public ResultSet getResultSet(CallableStatement ps) throws SQLException Overrides org. Doc from org. Given a callable statement previously processed by
| |
| getSelectGUIDString | back to summary |
|---|---|
| public String getSelectGUIDString() Overrides org. Doc from org. Get the command used to select a GUID from the underlying database. Optional operation. | |
| getSelectSequenceNextValString | back to summary |
|---|---|
| public String getSelectSequenceNextValString(String sequenceName) Overrides org. Doc from org. Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.
This differs from | |
| getSequenceInformationExtractor | back to summary |
|---|---|
| public SequenceInformationExtractor getSequenceInformationExtractor() Overrides org. | |
| getSequenceNextValString | back to summary |
|---|---|
| public String getSequenceNextValString(String sequenceName) Overrides org. Doc from org. Generate the appropriate select statement to to retrieve the next value of a sequence. This should be a "stand alone" select statement. | |
| getViolatedConstraintNameExtracter | back to summary |
|---|---|
| public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() Overrides org. Implements org.
| |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Should the value returned by
| |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of
returning
| |
| supportsCommentOn | back to summary |
|---|---|
| public boolean supportsCommentOn() Overrides org. Doc from org. Does this dialect/database support commenting on tables, columns, etc?
| |
| supportsCurrentTimestampSelection | back to summary |
|---|---|
| public boolean supportsCurrentTimestampSelection() Overrides org. Doc from org. Does this dialect support a way to retrieve the database's current timestamp value?
| |
| supportsEmptyInList | back to summary |
|---|---|
| public boolean supportsEmptyInList() Overrides org. Doc from org. Does this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct?
| |
| supportsExistsInSelect | back to summary |
|---|---|
| public boolean supportsExistsInSelect() Overrides org. Doc from org. Does the dialect support an exists statement in the select clause?
| |
| supportsLimit | back to summary |
|---|---|
| public boolean supportsLimit() Overrides org. Doc from org. Does this dialect support some form of limiting query results via a SQL clause?
| |
| supportsNoWait | back to summary |
|---|---|
| public boolean supportsNoWait() Overrides org. Doc from org. Does this dialect/database support NO_WAIT timeout.
| |
| supportsPooledSequences | back to summary |
|---|---|
| public boolean supportsPooledSequences() Overrides org. Doc from org. Does this dialect support "pooled" sequences. Not aware of a better name for this. Essentially can we specify the initial and increment values?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsUnionAll | back to summary |
|---|---|
| public boolean supportsUnionAll() Overrides org. Doc from org. Does this dialect support UNION ALL, which is generally a faster variant of UNION?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9) So essentially, is limit relative from offset? Or is limit absolute?
| |