Class OracleDbmsDialect
- java.lang.Object
-
- com.blazebit.persistence.impl.dialect.DefaultDbmsDialect
-
- com.blazebit.persistence.impl.dialect.OracleDbmsDialect
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.DbmsDialect
public class OracleDbmsDialect extends DefaultDbmsDialect
- Since:
- 1.2.0
- Author:
- Christian Beikov, Moritz Becker
-
-
Field Summary
-
Fields inherited from class com.blazebit.persistence.impl.dialect.DefaultDbmsDialect
threadLocalCounter
-
-
Constructor Summary
Constructors Constructor Description OracleDbmsDialect()OracleDbmsDialect(Map<Class<?>,String> childSqlTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>appendExtendedSql(StringBuilder sqlSb, com.blazebit.persistence.spi.DbmsStatementType statementType, boolean isSubquery, boolean isEmbedded, StringBuilder withClause, String limit, String offset, String[] returningColumns, Map<com.blazebit.persistence.spi.DbmsModificationState,String> includedModificationStates)Stringcast(String expression, String sqlType)com.blazebit.persistence.spi.DbmsLimitHandlercreateLimitHandler()ResultSetextractReturningResult(PreparedStatement ps)StringgetDummyTable()protected StringgetOperator(com.blazebit.persistence.spi.SetOperationType type)protected static Map<Class<?>,String>getSqlTypes()com.blazebit.persistence.spi.ValuesStrategygetValuesStrategy()protected StringgetWindowFunctionDummyOrderBy()StringgetWithClause(boolean recursive)booleanneedsReturningSqlTypes()PreparedStatementprepare(PreparedStatement ps, int[] returningSqlTypes)booleansupportsArbitraryLengthMultiset()booleansupportsFullRowValueComparison()protected booleansupportsPartitionInRowNumberOver()booleansupportsReturningColumns()booleansupportsRowValueConstructor()booleansupportsWindowNullPrecedence()booleansupportsWithClauseHead()-
Methods inherited from class com.blazebit.persistence.impl.dialect.DefaultDbmsDialect
appendEmulatedOrderByElementWithNulls, appendLimit, appendOrderBy, appendOrderByElement, appendSet, appendSetOperands, getLateralStyle, getPrepareFlags, getSqlType, indexOfIgnoreCase, isNullSmallest, needsAliasForFromClause, needsAliasInSetOrderBy, needsCastParameters, needsSetOperationWrapper, regionMatchesIgnoreCase, requiresNullCast, supportsAnsiRowValueConstructor, supportsBooleanAggregation, supportsComplexJoinOn, supportsExcept, supportsFilterClause, supportsGroupByExpressionInHavingMatching, supportsIntersect, supportsJoinsInRecursiveCte, supportsLimitInQuantifiedPredicateSubquery, supportsLimitWithoutOrderBy, supportsModificationQueryInWithClause, supportsNestedCorrelations, supportsNonRecursiveWithClause, supportsNullPrecedence, supportsReturningAllGeneratedKeys, supportsReturningGeneratedKeys, supportsUnion, supportsWindowFunctions, supportsWithClause, supportsWithClauseInModificationQuery, usesExecuteUpdateWhenWithClauseInModificationQuery
-
-
-
-
Method Detail
-
cast
public String cast(String expression, String sqlType)
- Specified by:
castin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
castin classDefaultDbmsDialect
-
getWithClause
public String getWithClause(boolean recursive)
- Specified by:
getWithClausein interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
getWithClausein classDefaultDbmsDialect
-
supportsWithClauseHead
public boolean supportsWithClauseHead()
- Specified by:
supportsWithClauseHeadin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsWithClauseHeadin classDefaultDbmsDialect
-
getOperator
protected String getOperator(com.blazebit.persistence.spi.SetOperationType type)
- Overrides:
getOperatorin classDefaultDbmsDialect
-
supportsPartitionInRowNumberOver
protected boolean supportsPartitionInRowNumberOver()
- Overrides:
supportsPartitionInRowNumberOverin classDefaultDbmsDialect
-
supportsWindowNullPrecedence
public boolean supportsWindowNullPrecedence()
- Specified by:
supportsWindowNullPrecedencein interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsWindowNullPrecedencein classDefaultDbmsDialect
-
appendExtendedSql
public Map<String,String> appendExtendedSql(StringBuilder sqlSb, com.blazebit.persistence.spi.DbmsStatementType statementType, boolean isSubquery, boolean isEmbedded, StringBuilder withClause, String limit, String offset, String[] returningColumns, Map<com.blazebit.persistence.spi.DbmsModificationState,String> includedModificationStates)
- Specified by:
appendExtendedSqlin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
appendExtendedSqlin classDefaultDbmsDialect
-
supportsReturningColumns
public boolean supportsReturningColumns()
- Specified by:
supportsReturningColumnsin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsReturningColumnsin classDefaultDbmsDialect
-
supportsRowValueConstructor
public boolean supportsRowValueConstructor()
- Specified by:
supportsRowValueConstructorin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsRowValueConstructorin classDefaultDbmsDialect
-
supportsFullRowValueComparison
public boolean supportsFullRowValueComparison()
- Specified by:
supportsFullRowValueComparisonin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsFullRowValueComparisonin classDefaultDbmsDialect
-
createLimitHandler
public com.blazebit.persistence.spi.DbmsLimitHandler createLimitHandler()
- Specified by:
createLimitHandlerin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
createLimitHandlerin classDefaultDbmsDialect
-
getValuesStrategy
public com.blazebit.persistence.spi.ValuesStrategy getValuesStrategy()
- Specified by:
getValuesStrategyin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
getValuesStrategyin classDefaultDbmsDialect
-
getDummyTable
public String getDummyTable()
- Specified by:
getDummyTablein interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
getDummyTablein classDefaultDbmsDialect
-
getWindowFunctionDummyOrderBy
protected String getWindowFunctionDummyOrderBy()
- Overrides:
getWindowFunctionDummyOrderByin classDefaultDbmsDialect
-
needsReturningSqlTypes
public boolean needsReturningSqlTypes()
- Specified by:
needsReturningSqlTypesin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
needsReturningSqlTypesin classDefaultDbmsDialect
-
supportsArbitraryLengthMultiset
public boolean supportsArbitraryLengthMultiset()
- Specified by:
supportsArbitraryLengthMultisetin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
supportsArbitraryLengthMultisetin classDefaultDbmsDialect
-
prepare
public PreparedStatement prepare(PreparedStatement ps, int[] returningSqlTypes) throws SQLException
- Specified by:
preparein interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
preparein classDefaultDbmsDialect- Throws:
SQLException
-
extractReturningResult
public ResultSet extractReturningResult(PreparedStatement ps) throws SQLException
- Specified by:
extractReturningResultin interfacecom.blazebit.persistence.spi.DbmsDialect- Overrides:
extractReturningResultin classDefaultDbmsDialect- Throws:
SQLException
-
-