public class Oracle11Dialect extends StandardDialect
| Modifier and Type | Class and Description |
|---|---|
static class |
Oracle11Dialect.Oracle11CriteriaBuilder |
static class |
Oracle11Dialect.Oracle11ExpressionFunctions |
static class |
Oracle11Dialect.Oracle11JdbcMappingVisitor |
static class |
Oracle11Dialect.Oracle11ScriptBlockContext |
static class |
Oracle11Dialect.Oracle11SqlLogFormattingVisitor |
static class |
Oracle11Dialect.OracleResultSetType |
StandardDialect.StandardCriteriaBuilder, StandardDialect.StandardExpressionFunctions, StandardDialect.StandardJdbcMappingVisitor, StandardDialect.StandardScriptBlockContext, StandardDialect.StandardSqlLogFormattingVisitor| Modifier and Type | Field and Description |
|---|---|
protected static JdbcType<java.sql.ResultSet> |
RESULT_SET
the JDBC type for
ResultSet |
protected static int |
UNIQUE_CONSTRAINT_VIOLATION_ERROR_CODE
the error code that represents unique violation
|
CLOSE_QUOTE, expressionFunctions, jdbcMappingVisitor, OPEN_QUOTE, sqlLogFormattingVisitor, UNIQUE_CONSTRAINT_VIOLATION_STATE_CODES| Constructor and Description |
|---|
Oracle11Dialect() |
Oracle11Dialect(ExpressionFunctions expressionFunctions) |
Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor) |
Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor) |
Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions) |
Oracle11Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor) |
| Modifier and Type | Method and Description |
|---|---|
ScriptBlockContext |
createScriptBlockContext()
Creates the context object to process an SQL block in a script.
|
CriteriaBuilder |
getCriteriaBuilder() |
java.lang.String |
getName()
The dialect name.
|
JdbcType<java.sql.ResultSet> |
getResultSetType()
Returns the
JdbcType object that corresponds to the ResultSet class. |
java.lang.String |
getScriptBlockDelimiter()
Return the delimiter that is used as the end of an SQL block in a script.
|
PreparedSql |
getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize)
Returns an SQL object to get next sequence values.
|
boolean |
isUniqueConstraintViolated(java.sql.SQLException sqlException)
Whether the
sqlException represents an unique violation. |
boolean |
supportsBatchUpdateResults()
Whether this object supports the result of
Statement.executeBatch(). |
boolean |
supportsIdentity()
Whether this object supports the IDENTITY column.
|
boolean |
supportsModOperator()
Whether this object supports mod operator
%. |
boolean |
supportsResultSetReturningAsOutParameter()
Whether this object supports an out parameter that is mapped to a result set in stored
functions or stored procedures .
|
boolean |
supportsSelectForUpdate(SelectForUpdateType type,
boolean withTargets)
Whether this object supports pessimistic locking.
|
boolean |
supportsSequence()
Whether this object supports the SEQUENCE.
|
protected SqlNode |
toForUpdateSqlNode(SqlNode sqlNode,
SelectForUpdateType forUpdateType,
int waitSeconds,
java.lang.String... aliases) |
protected SqlNode |
toPagingSqlNode(SqlNode sqlNode,
long offset,
long limit) |
applyQuote, getAutoGeneratedKeysType, getCauseSQLException, getErrorCode, getExpressionFunctions, getIdentityReservationSql, getIdentitySelectSql, getJdbcMappingVisitor, getRootCause, getSqlLogFormattingVisitor, getSQLState, getUpsertAssembler, includesIdentityColumn, removeQuote, supportsAutoGeneratedKeys, supportsIdentityReservation, toCountCalculatingSqlNode, toCountGettingSqlNode, transformSelectSqlNode, transformSelectSqlNodeForGettingCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsAliasInDeleteClause, supportsAliasInUpdateClause, supportsBatchExecutionReturningGeneratedValuesprotected static final int UNIQUE_CONSTRAINT_VIOLATION_ERROR_CODE
protected static final JdbcType<java.sql.ResultSet> RESULT_SET
ResultSetpublic Oracle11Dialect()
public Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor)
public Oracle11Dialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
public Oracle11Dialect(ExpressionFunctions expressionFunctions)
public Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor, SqlLogFormattingVisitor sqlLogFormattingVisitor)
public Oracle11Dialect(JdbcMappingVisitor jdbcMappingVisitor, SqlLogFormattingVisitor sqlLogFormattingVisitor, ExpressionFunctions expressionFunctions)
public java.lang.String getName()
DialectgetName in interface DialectgetName in class StandardDialectpublic boolean supportsBatchUpdateResults()
DialectStatement.executeBatch().supportsBatchUpdateResults in interface DialectsupportsBatchUpdateResults in class StandardDialecttrue, if this object supports itprotected SqlNode toForUpdateSqlNode(SqlNode sqlNode, SelectForUpdateType forUpdateType, int waitSeconds, java.lang.String... aliases)
toForUpdateSqlNode in class StandardDialectprotected SqlNode toPagingSqlNode(SqlNode sqlNode, long offset, long limit)
toPagingSqlNode in class StandardDialectpublic boolean isUniqueConstraintViolated(java.sql.SQLException sqlException)
DialectsqlException represents an unique violation.isUniqueConstraintViolated in interface DialectisUniqueConstraintViolated in class StandardDialectsqlException - the SQL exceptiontrue, if the sqlException represents an unique violationpublic PreparedSql getSequenceNextValSql(java.lang.String qualifiedSequenceName, long allocationSize)
DialectThis method is available, only if Dialect.supportsSequence() returns true.
getSequenceNextValSql in interface DialectgetSequenceNextValSql in class StandardDialectqualifiedSequenceName - the qualified sequence nameallocationSize - the allocation size of the sequencepublic boolean supportsIdentity()
DialectsupportsIdentity in interface DialectsupportsIdentity in class StandardDialecttrue, if this object supports itpublic boolean supportsSequence()
DialectsupportsSequence in interface DialectsupportsSequence in class StandardDialecttrue, if this object supports itpublic boolean supportsSelectForUpdate(SelectForUpdateType type, boolean withTargets)
DialectsupportsSelectForUpdate in interface DialectsupportsSelectForUpdate in class StandardDialecttype - a kind of pessimistic lockingwithTargets - true if a lock target is specifiedtrue, if this object supports itpublic boolean supportsResultSetReturningAsOutParameter()
DialectsupportsResultSetReturningAsOutParameter in interface DialectsupportsResultSetReturningAsOutParameter in class StandardDialecttrue, if this object supports itpublic boolean supportsModOperator()
Dialect%.true, if this object supports itpublic JdbcType<java.sql.ResultSet> getResultSetType()
DialectJdbcType object that corresponds to the ResultSet class.
This method is available, only if Dialect.supportsResultSetReturningAsOutParameter() is
true.
getResultSetType in interface DialectgetResultSetType in class StandardDialectJdbcType object for the ResultSet classpublic java.lang.String getScriptBlockDelimiter()
DialectgetScriptBlockDelimiter in interface DialectgetScriptBlockDelimiter in class StandardDialectpublic ScriptBlockContext createScriptBlockContext()
DialectcreateScriptBlockContext in interface DialectcreateScriptBlockContext in class StandardDialectpublic CriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder in interface DialectgetCriteriaBuilder in class StandardDialect