类 Oracle9Dialect
- java.lang.Object
-
- org.hibernate.dialect.Dialect
-
- org.hibernate.dialect.Oracle9Dialect
-
- 所有已实现的接口:
ConversionContext
- 直接已知子类:
DataDirectOracle9Dialect,OracleDialect
@Deprecated public class Oracle9Dialect extends Dialect
已过时。Use either Oracle9iDialect or Oracle10gDialect insteadAn SQL dialect for Oracle 9 (uses ANSI-style syntax where possible).- 作者:
- Gavin King, David Channon
-
-
构造器概要
构造器 构造器 说明 Oracle9Dialect()已过时。Constructs an Oracle9Dialect
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleanbindLimitParametersInReverseOrder()已过时。ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit.booleancanCreateSchema()已过时。Does this dialect support schema creation?booleandropConstraints()已过时。Do we need to drop constraints before dropping tables in this dialect?booleanforUpdateOfColumns()已过时。Is FOR UPDATE OF syntax supported?StringgetAddColumnString()已过时。The syntax used to add a column to a table (optional).StringgetCascadeConstraintsString()已过时。Completely optional cascading drop clauseStringgetCreateSequenceString(String sequenceName)已过时。Typically dialects which support sequences can create a sequence with a single command.StringgetCurrentTimestampSelectString()已过时。Retrieve the command used to retrieve the current timestamp from the database.MultiTableBulkIdStrategygetDefaultMultiTableBulkIdStrategy()已过时。StringgetDropSequenceString(String sequenceName)已过时。Typically dialects which support sequences can drop a sequence with a single command.StringgetForUpdateNowaitString()已过时。Retrieves the FOR UPDATE NOWAIT syntax specific to this dialect.StringgetForUpdateNowaitString(String aliases)已过时。Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.StringgetForUpdateString(String aliases)已过时。Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.intgetInExpressionCountLimit()已过时。Return the limit that the underlying database places on the number of elements in anINpredicate.StringgetLimitString(String sql, boolean hasOffset)已过时。Apply a limit clause to the query.StringgetNotExpression(String expression)已过时。Negate an expressionStringgetQuerySequencesString()已过时。Get the select command used retrieve the names of all sequences.ResultSetgetResultSet(CallableStatement ps)已过时。Given a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.StringgetSelectGUIDString()已过时。Get the command used to select a GUID from the underlying database.StringgetSelectSequenceNextValString(String sequenceName)已过时。Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.SequenceInformationExtractorgetSequenceInformationExtractor()已过时。StringgetSequenceNextValString(String sequenceName)已过时。Generate the appropriate select statement to to retrieve the next value of a sequence.ViolatedConstraintNameExtractergetViolatedConstraintNameExtracter()已过时。booleanisCurrentTimestampSelectStringCallable()已过时。Should the value returned byDialect.getCurrentTimestampSelectString()be treated as callable.intregisterResultSetOutParameter(CallableStatement statement, int col)已过时。Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by position*.booleansupportsCommentOn()已过时。Does this dialect/database support commenting on tables, columns, etc?booleansupportsCurrentTimestampSelection()已过时。Does this dialect support a way to retrieve the database's current timestamp value?booleansupportsEmptyInList()已过时。Does this dialect support empty IN lists?booleansupportsExistsInSelect()已过时。Does the dialect support an exists statement in the select clause?booleansupportsLimit()已过时。Does this dialect support some form of limiting query results via a SQL clause?booleansupportsNoWait()已过时。Does this dialect/database support NO_WAIT timeout.booleansupportsPooledSequences()已过时。Does this dialect support "pooled" sequences.booleansupportsSequences()已过时。Does this dialect support sequences?booleansupportsUnionAll()已过时。Does this dialect support UNION ALL, which is generally a faster variant of UNION?booleanuseMaxForLimit()已过时。Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows?-
从类继承的方法 org.hibernate.dialect.Dialect
addSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, bindLimitParametersFirst, buildIdentifierHelper, buildSQLExceptionConversionDelegate, buildSQLExceptionConverter, canCreateCatalog, cast, cast, cast, closeQuote, contributeTypes, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, escapeLiteral, forceLimitUsage, forceLobAsLastValue, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCallableStatementSupport, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentSchemaCommand, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnSupport, getIndexExporter, getKeywords, getLimitHandler, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getQueryHintString, getReadLockString, getReadLockString, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSequenceExporter, getSqlTypeDescriptorOverride, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, getWriteLockString, getWriteLockString, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsJdbcConnectionLobCreation, supportsLimitOffset, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNamedParameters, supportsNationalizedTypes, supportsNoColumnsInsert, supportsNonQueryWithCTE, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPartitionBy, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSelectAliasInGroupByClause, supportsSkipLocked, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTupleDistinctCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob
-
-
-
-
方法详细资料
-
getAddColumnString
public String getAddColumnString()
已过时。从类复制的说明:DialectThe syntax used to add a column to a table (optional).- 覆盖:
getAddColumnString在类中Dialect- 返回:
- The "add column" fragment.
-
getSequenceNextValString
public String getSequenceNextValString(String sequenceName)
已过时。从类复制的说明:DialectGenerate the appropriate select statement to to retrieve the next value of a sequence. This should be a "stand alone" select statement.- 覆盖:
getSequenceNextValString在类中Dialect- 参数:
sequenceName- the name of the sequence- 返回:
- String The "nextval" select string.
-
getSelectSequenceNextValString
public String getSelectSequenceNextValString(String sequenceName)
已过时。从类复制的说明:DialectGenerate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement. This differs fromDialect.getSequenceNextValString(String)in that this should return an expression usable within another statement.- 覆盖:
getSelectSequenceNextValString在类中Dialect- 参数:
sequenceName- the name of the sequence- 返回:
- The "nextval" fragment.
-
getCreateSequenceString
public String getCreateSequenceString(String sequenceName)
已过时。从类复制的说明:DialectTypically dialects which support sequences can create a sequence with a single command. This is convenience form ofDialect.getCreateSequenceStrings(java.lang.String)to help facilitate that. 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 overrideDialect.getCreateSequenceStrings(java.lang.String).- 覆盖:
getCreateSequenceString在类中Dialect- 参数:
sequenceName- The name of the sequence- 返回:
- The sequence creation command
-
getDropSequenceString
public String getDropSequenceString(String sequenceName)
已过时。从类复制的说明:DialectTypically dialects which support sequences can drop a sequence with a single command. This is convenience form ofDialect.getDropSequenceStrings(java.lang.String)to help facilitate that. 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 overrideDialect.getDropSequenceStrings(java.lang.String).- 覆盖:
getDropSequenceString在类中Dialect- 参数:
sequenceName- The name of the sequence- 返回:
- The sequence drop commands
-
getCascadeConstraintsString
public String getCascadeConstraintsString()
已过时。从类复制的说明:DialectCompletely optional cascading drop clause- 覆盖:
getCascadeConstraintsString在类中Dialect- 返回:
- String
-
dropConstraints
public boolean dropConstraints()
已过时。从类复制的说明:DialectDo we need to drop constraints before dropping tables in this dialect?- 覆盖:
dropConstraints在类中Dialect- 返回:
- True if constraints must be dropped prior to dropping the table; false otherwise.
-
getForUpdateNowaitString
public String getForUpdateNowaitString()
已过时。从类复制的说明:DialectRetrieves the FOR UPDATE NOWAIT syntax specific to this dialect.- 覆盖:
getForUpdateNowaitString在类中Dialect- 返回:
- The appropriate FOR UPDATE NOWAIT clause string.
-
supportsSequences
public boolean supportsSequences()
已过时。从类复制的说明:DialectDoes this dialect support sequences?- 覆盖:
supportsSequences在类中Dialect- 返回:
- True if sequences supported; false otherwise.
-
supportsPooledSequences
public boolean supportsPooledSequences()
已过时。从类复制的说明:DialectDoes this dialect support "pooled" sequences. Not aware of a better name for this. Essentially can we specify the initial and increment values?- 覆盖:
supportsPooledSequences在类中Dialect- 返回:
- True if such "pooled" sequences are supported; false otherwise.
- 另请参阅:
Dialect.getCreateSequenceStrings(String, int, int),Dialect.getCreateSequenceString(String, int, int)
-
supportsLimit
public boolean supportsLimit()
已过时。从类复制的说明:DialectDoes this dialect support some form of limiting query results via a SQL clause?- 覆盖:
supportsLimit在类中Dialect- 返回:
- True if this dialect supports some form of LIMIT.
-
getLimitString
public String getLimitString(String sql, boolean hasOffset)
已过时。从类复制的说明:DialectApply a limit clause to the query. Typically dialects utilizevariablelimit clauses when they support limits. Thus, when building the select command we do not actually need to know the limit or the offset since we will just be using placeholders. 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 andDialect.getLimitString(String, int, int).- 覆盖:
getLimitString在类中Dialect- 参数:
sql- The query to which to apply the limit.hasOffset- Is the query requesting an offset?- 返回:
- the modified SQL
-
getForUpdateString
public String getForUpdateString(String aliases)
已过时。从类复制的说明:DialectGet the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE OF column_list clause string.
-
getForUpdateNowaitString
public String getForUpdateNowaitString(String aliases)
已过时。从类复制的说明:DialectGet the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateNowaitString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE OF colunm_list NOWAIT clause string.
-
bindLimitParametersInReverseOrder
public boolean bindLimitParametersInReverseOrder()
已过时。从类复制的说明:DialectANSI 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?- 覆盖:
bindLimitParametersInReverseOrder在类中Dialect- 返回:
- true if the correct order is limit, offset
-
useMaxForLimit
public boolean useMaxForLimit()
已过时。从类复制的说明:DialectDoes 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?- 覆盖:
useMaxForLimit在类中Dialect- 返回:
- True if limit is relative from offset; false otherwise.
-
forUpdateOfColumns
public boolean forUpdateOfColumns()
已过时。从类复制的说明:DialectIs FOR UPDATE OF syntax supported?- 覆盖:
forUpdateOfColumns在类中Dialect- 返回:
- True if the database supports FOR UPDATE OF syntax; false otherwise.
-
getQuerySequencesString
public String getQuerySequencesString()
已过时。从类复制的说明:DialectGet the select command used retrieve the names of all sequences.- 覆盖:
getQuerySequencesString在类中Dialect- 返回:
- The select command; or null if sequences are not supported.
- 另请参阅:
SchemaUpdate
-
getSequenceInformationExtractor
public SequenceInformationExtractor getSequenceInformationExtractor()
已过时。
-
getSelectGUIDString
public String getSelectGUIDString()
已过时。从类复制的说明:DialectGet the command used to select a GUID from the underlying database. Optional operation.- 覆盖:
getSelectGUIDString在类中Dialect- 返回:
- The appropriate command.
-
getViolatedConstraintNameExtracter
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter()
已过时。
-
registerResultSetOutParameter
public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException
已过时。从类复制的说明:DialectRegisters a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by position*. Pre-Java 8, registering such ResultSet-returning parameters varied greatly across database and drivers; hence its inclusion as part of the Dialect contract.- 覆盖:
registerResultSetOutParameter在类中Dialect- 参数:
statement- The callable statement.col- The bind position at which to register the output param.- 返回:
- The number of (contiguous) bind positions used.
- 抛出:
SQLException- Indicates problems registering the param.
-
getResultSet
public ResultSet getResultSet(CallableStatement ps) throws SQLException
已过时。从类复制的说明:DialectGiven a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.- 覆盖:
getResultSet在类中Dialect- 参数:
ps- The callable statement.- 返回:
- The extracted result set.
- 抛出:
SQLException- Indicates problems extracting the result set.
-
supportsUnionAll
public boolean supportsUnionAll()
已过时。从类复制的说明:DialectDoes this dialect support UNION ALL, which is generally a faster variant of UNION?- 覆盖:
supportsUnionAll在类中Dialect- 返回:
- True if UNION ALL is supported; false otherwise.
-
supportsCommentOn
public boolean supportsCommentOn()
已过时。从类复制的说明:DialectDoes this dialect/database support commenting on tables, columns, etc?- 覆盖:
supportsCommentOn在类中Dialect- 返回:
trueif commenting is supported
-
getDefaultMultiTableBulkIdStrategy
public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy()
已过时。
-
supportsCurrentTimestampSelection
public boolean supportsCurrentTimestampSelection()
已过时。从类复制的说明:DialectDoes this dialect support a way to retrieve the database's current timestamp value?- 覆盖:
supportsCurrentTimestampSelection在类中Dialect- 返回:
- True if the current timestamp can be retrieved; false otherwise.
-
getCurrentTimestampSelectString
public String getCurrentTimestampSelectString()
已过时。从类复制的说明:DialectRetrieve the command used to retrieve the current timestamp from the database.- 覆盖:
getCurrentTimestampSelectString在类中Dialect- 返回:
- The command.
-
isCurrentTimestampSelectStringCallable
public boolean isCurrentTimestampSelectStringCallable()
已过时。从类复制的说明:DialectShould the value returned byDialect.getCurrentTimestampSelectString()be treated as callable. Typically this indicates that JDBC escape syntax is being used...- 覆盖:
isCurrentTimestampSelectStringCallable在类中Dialect- 返回:
- True if the
Dialect.getCurrentTimestampSelectString()return is callable; false otherwise.
-
supportsEmptyInList
public boolean supportsEmptyInList()
已过时。从类复制的说明:DialectDoes this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct?- 覆盖:
supportsEmptyInList在类中Dialect- 返回:
- True if empty in lists are supported; false otherwise.
-
supportsExistsInSelect
public boolean supportsExistsInSelect()
已过时。从类复制的说明:DialectDoes the dialect support an exists statement in the select clause?- 覆盖:
supportsExistsInSelect在类中Dialect- 返回:
- True if exists checks are allowed in the select clause; false otherwise.
-
getInExpressionCountLimit
public int getInExpressionCountLimit()
已过时。从类复制的说明:DialectReturn the limit that the underlying database places on the number of elements in anINpredicate. If the database defines no such limits, simply return zero or less-than-zero.- 覆盖:
getInExpressionCountLimit在类中Dialect- 返回:
- int The limit, or zero-or-less to indicate no limit.
-
getNotExpression
public String getNotExpression(String expression)
已过时。从类复制的说明:DialectNegate an expression- 覆盖:
getNotExpression在类中Dialect- 参数:
expression- The expression to negate- 返回:
- The negated expression
-
canCreateSchema
public boolean canCreateSchema()
已过时。从类复制的说明:DialectDoes this dialect support schema creation?- 覆盖:
canCreateSchema在类中Dialect- 返回:
- True if the dialect supports schema creation; false otherwise.
-
supportsNoWait
public boolean supportsNoWait()
已过时。从类复制的说明:DialectDoes this dialect/database support NO_WAIT timeout.- 覆盖:
supportsNoWait在类中Dialect- 返回:
trueif NO_WAIT is supported
-
-