| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static ViolatedConstraintNameExtracter | |
| public static final int | |
| public static final String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bindLimitParametersInReverseOrder()
Overrides org. |
| public CaseFragment | Returns: The oracle CASE -> DECODE fragment |
| public JoinFragment | Returns: The orqacle join fragmentOverrides org. |
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public boolean | dropTemporaryTableAfterUse()
Overrides org. |
| protected int | |
| public boolean | forUpdateOfColumns()
Is FOR UPDATE OF syntax supported?
|
| public String | generateTemporaryTableName(String
The table name from which to base the temp table name. baseTableName)Overrides org. |
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | Returns: The appropriate select cluse fragmentThe sqlType)java. mapping type codeAllows access to the basic |
| public String | getCascadeConstraintsString()
Overrides org. |
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getCreateTemporaryTablePostfix()
Overrides org. |
| public String | getCreateTemporaryTableString()
Overrides org. |
| public String | getCrossJoinSeparator()
Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public String | getCurrentTimestampSQLFunctionName()
Overrides org. |
| 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 String | getLimitString(String
The query to which to apply the limit. sql, boolean Is the query requesting an offset? hasOffset)Overrides org. |
| public int | |
| public String | getQuerySequencesString()
Overrides org. |
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter,
extract the java. from the OUT parameter.
|
| public String | getSelectClauseNullString(int
The sqlType)java. type code.Overrides org. java. type code, determine an appropriate
null value to use in a select clause.
|
| public String | getSelectGUIDString()
Overrides org. |
| public String | getSelectSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public ViolatedConstraintNameExtracter | |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
be treated as callable.
|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the OUT param. col)Overrides org. java..
|
| protected void | |
| public boolean | |
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsPooledSequences()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsTemporaryTables()
Overrides org. |
| public boolean | supportsUnionAll()
Does this dialect support UNION ALL, which is generally a faster
variant of UNION?
|
| public boolean | useMaxForLimit()
Overrides org. |
| DEPRECATED_ORACLE_TYPES_CLASS_NAME | back to summary |
|---|---|
| public static final String DEPRECATED_ORACLE_TYPES_CLASS_NAME | |
| EXTRACTER | back to summary |
|---|---|
| private static ViolatedConstraintNameExtracter EXTRACTER | |
| INIT_ORACLETYPES_CURSOR_VALUE | back to summary |
|---|---|
| public static final int INIT_ORACLETYPES_CURSOR_VALUE | |
| ORACLE_TYPES_CLASS_NAME | back to summary |
|---|---|
| public static final String ORACLE_TYPES_CLASS_NAME | |
| oracleCursorTypeSqlType | back to summary |
|---|---|
| private int oracleCursorTypeSqlType | |
| Oracle8iDialect | back to summary |
|---|---|
| public Oracle8iDialect() | |
| 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?
| |
| createCaseFragment | back to summary |
|---|---|
| public CaseFragment createCaseFragment() Overrides org. Map case support to the Oracle DECODE function. Oracle did not add support for CASE until 9i.
| |
| createOuterJoinFragment | back to summary |
|---|---|
| public JoinFragment createOuterJoinFragment() Overrides org. Support for the oracle proprietary join syntax...
| |
| dropConstraints | back to summary |
|---|---|
| public boolean dropConstraints() Overrides org. Doc from org. Do we need to drop constraints before dropping tables in this dialect?
| |
| dropTemporaryTableAfterUse | back to summary |
|---|---|
| public boolean dropTemporaryTableAfterUse() Overrides org. Doc from org. Do we need to drop the temporary table after use?
| |
| extractOracleCursorTypeValue | back to summary |
|---|---|
| protected int extractOracleCursorTypeValue() | |
| forUpdateOfColumns | back to summary |
|---|---|
| public boolean forUpdateOfColumns() Overrides org. Doc from org. Is FOR UPDATE OF syntax supported?
| |
| generateTemporaryTableName | back to summary |
|---|---|
| public String generateTemporaryTableName(String baseTableName) Overrides org. Doc from org. Generate a temporary table name given the base table. | |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional).
| |
| getBasicSelectClauseNullString | back to summary |
|---|---|
| public String getBasicSelectClauseNullString(int sqlType) Allows access to the basic
| |
| 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 | |
| getCreateTemporaryTablePostfix | back to summary |
|---|---|
| public String getCreateTemporaryTablePostfix() Overrides org. Doc from org. Get any fragments needing to be postfixed to the command for temporary table creation.
| |
| getCreateTemporaryTableString | back to summary |
|---|---|
| public String getCreateTemporaryTableString() Overrides org. Doc from org. Command used to create a temporary table.
| |
| getCrossJoinSeparator | back to summary |
|---|---|
| public String getCrossJoinSeparator() Overrides org. Doc from org. Get the separator to use for defining cross joins when translating HQL queries. Typically this will be either [ cross join ] or [, ] Note that the spaces are important! | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database.
| |
| getCurrentTimestampSQLFunctionName | back to summary |
|---|---|
| public String getCurrentTimestampSQLFunctionName() Overrides org. Doc from org. The name of the database-specific SQL function for retrieving the current timestamp.
| |
| 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. | |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String sql, boolean hasOffset) Overrides org. Doc from org. Apply s 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
| |
| getOracleCursorTypeSqlType | back to summary |
|---|---|
| public int getOracleCursorTypeSqlType() | |
| 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
| |
| getSelectClauseNullString | back to summary |
|---|---|
| public String getSelectClauseNullString(int sqlType) Overrides org. Doc from org. Given a One thing to consider here is that certain databases might require proper casting for the nulls here since the select here will be part of a UNION/UNION ALL.
| |
| 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 | |
| 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. | |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Should the value returned by
| |
| registerCharacterTypeMappings | back to summary |
|---|---|
| protected void registerCharacterTypeMappings() | |
| registerDateTimeTypeMappings | back to summary |
|---|---|
| protected void registerDateTimeTypeMappings() | |
| registerDefaultProperties | back to summary |
|---|---|
| protected void registerDefaultProperties() | |
| registerFunctions | back to summary |
|---|---|
| protected void registerFunctions() | |
| registerLargeObjectTypeMappings | back to summary |
|---|---|
| protected void registerLargeObjectTypeMappings() | |
| registerNumericTypeMappings | back to summary |
|---|---|
| protected void registerNumericTypeMappings() | |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers an OUT parameter which will be returning a
| |
| registerReverseHibernateTypeMappings | back to summary |
|---|---|
| protected void registerReverseHibernateTypeMappings() | |
| supportsCommentOn | back to summary |
|---|---|
| public boolean supportsCommentOn() | |
| 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?
| |
| 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?
| |
| supportsTemporaryTables | back to summary |
|---|---|
| public boolean supportsTemporaryTables() Overrides org. Doc from org. Does this dialect support temporary tables?
| |
| 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?
| |