类 Oracle10gDialect
- java.lang.Object
-
- org.hibernate.dialect.Dialect
-
- org.hibernate.dialect.Oracle8iDialect
-
- org.hibernate.dialect.Oracle9iDialect
-
- org.hibernate.dialect.Oracle10gDialect
-
- 所有已实现的接口:
ConversionContext
- 直接已知子类:
Oracle12cDialect
public class Oracle10gDialect extends Oracle9iDialect
A dialect specifically for use with Oracle 10g. The main difference between this dialect andOracle9iDialectis the use of "ANSI join syntax".- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 Oracle10gDialect()Constructs an Oracle10gDialect
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JoinFragmentcreateOuterJoinFragment()Create aJoinFragmentstrategy responsible for handling this dialect's variations in how joins are handled.StringgetCrossJoinSeparator()Returns the separator to use for defining cross joins when translating HQL queries.StringgetForUpdateSkipLockedString()Retrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.StringgetForUpdateSkipLockedString(String aliases)Get the FOR UPDATE OF column_list SKIP LOCKED fragment appropriate for this dialect given the aliases of the columns to be write locked.ResultSetgetResultSet(CallableStatement statement, int position)Given a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSet.ResultSetgetResultSet(CallableStatement statement, String name)Given a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.StringgetWriteLockString(int timeout)Get the string to append to SELECT statements to acquire WRITE locks for this dialect.StringgetWriteLockString(String aliases, int timeout)Get the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked.intregisterResultSetOutParameter(CallableStatement statement, String name)Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by name*.booleansupportsSkipLocked()Does this dialect/database support SKIP_LOCKED timeout.-
从类继承的方法 org.hibernate.dialect.Oracle9iDialect
createCaseFragment, getCurrentTimestampSelectString, getCurrentTimestampSQLFunctionName, getForUpdateString, getLimitHandler, getLimitString, getReadLockString, getSelectClauseNullString, registerCharacterTypeMappings, registerDateTimeTypeMappings, supportsRowValueConstructorSyntaxInInList, supportsTupleDistinctCounts
-
从类继承的方法 org.hibernate.dialect.Oracle8iDialect
bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, canCreateSchema, dropConstraints, forceLobAsLastValue, forUpdateOfColumns, getAddColumnString, getBasicSelectClauseNullString, getCallableStatementSupport, getCascadeConstraintsString, getCreateSequenceString, getCreateSequenceString, getCurrentSchemaCommand, getDefaultMultiTableBulkIdStrategy, getDropSequenceString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getInExpressionCountLimit, getMaxAliasLength, getNotExpression, getQueryHintString, getQuerySequencesString, getResultSet, getSelectGUIDString, getSelectSequenceNextValString, getSequenceInformationExtractor, getSequenceNextValString, getSqlTypeDescriptorOverride, getViolatedConstraintNameExtracter, isCurrentTimestampSelectStringCallable, registerDefaultProperties, registerFunctions, registerLargeObjectTypeMappings, registerNumericTypeMappings, registerResultSetOutParameter, registerReverseHibernateTypeMappings, statementType, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsLimit, supportsNoWait, supportsPartitionBy, supportsPooledSequences, supportsSequences, supportsUnionAll, useFollowOnLocking, useMaxForLimit
-
从类继承的方法 org.hibernate.dialect.Dialect
addSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, bindLimitParametersFirst, buildIdentifierHelper, buildSQLExceptionConverter, canCreateCatalog, cast, cast, cast, closeQuote, contributeTypes, convertToFirstRowValue, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, escapeLiteral, forceLimitUsage, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnSupport, getIndexExporter, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getReadLockString, getSchemaNameResolver, getSequenceExporter, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, 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, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsSelectAliasInGroupByClause, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useInputStreamToInsertBlob
-
-
-
-
方法详细资料
-
createOuterJoinFragment
public JoinFragment createOuterJoinFragment()
从类复制的说明:DialectCreate aJoinFragmentstrategy responsible for handling this dialect's variations in how joins are handled.- 覆盖:
createOuterJoinFragment在类中Oracle8iDialect- 返回:
- This dialect's
JoinFragmentstrategy.
-
getCrossJoinSeparator
public String getCrossJoinSeparator()
从类复制的说明:DialectReturns 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!- 覆盖:
getCrossJoinSeparator在类中Oracle8iDialect- 返回:
- The cross join separator
-
getWriteLockString
public String getWriteLockString(int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString.- 覆盖:
getWriteLockString在类中Oracle9iDialect- 参数:
timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getWriteLockString
public String getWriteLockString(String aliases, int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked. Location of the of the returned string is treated the same as getForUpdateString.- 覆盖:
getWriteLockString在类中Dialect- 参数:
aliases- The columns to be read locked.timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getForUpdateSkipLockedString
public String getForUpdateSkipLockedString()
从类复制的说明:DialectRetrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.- 覆盖:
getForUpdateSkipLockedString在类中Dialect- 返回:
- The appropriate FOR UPDATE SKIP LOCKED clause string.
-
getForUpdateSkipLockedString
public String getForUpdateSkipLockedString(String aliases)
从类复制的说明:DialectGet the FOR UPDATE OF column_list SKIP LOCKED fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateSkipLockedString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE colunm_list SKIP LOCKED clause string.
-
getResultSet
public ResultSet getResultSet(CallableStatement statement, int position) throws SQLException
从类复制的说明:DialectGiven a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSet.- 覆盖:
getResultSet在类中Dialect- 参数:
statement- The callable statement.position- The bind position at which to register the output param.- 返回:
- The extracted result set.
- 抛出:
SQLException- Indicates problems extracting the result set.
-
registerResultSetOutParameter
public int registerResultSetOutParameter(CallableStatement statement, String name) throws SQLException
从类复制的说明:DialectRegisters a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by name*. 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.name- The parameter name (for drivers which support named parameters).- 返回:
- The number of (contiguous) bind positions used.
- 抛出:
SQLException- Indicates problems registering the param.
-
getResultSet
public ResultSet getResultSet(CallableStatement statement, String name) throws SQLException
从类复制的说明:DialectGiven a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.- 覆盖:
getResultSet在类中Dialect- 参数:
statement- The callable statement.name- The parameter name (for drivers which support named parameters).- 返回:
- The extracted result set.
- 抛出:
SQLException- Indicates problems extracting the result set.
-
supportsSkipLocked
public boolean supportsSkipLocked()
从类复制的说明:DialectDoes this dialect/database support SKIP_LOCKED timeout.- 覆盖:
supportsSkipLocked在类中Dialect- 返回:
trueif SKIP_LOCKED is supported
-
-