public class Ingres9Dialect extends IngresDialect
Types.TIMESTAMP
changed from "timestamp with time zone" to "timestamp(9) with time zone"CLOSED_QUOTE, DEFAULT_BATCH_SIZE, LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, NO_BATCH, QUOTE, STREAM_XFER_LOB_MERGE_STRATEGY
Constructor and Description |
---|
Ingres9Dialect() |
Modifier and Type | Method and Description |
---|---|
boolean |
doesReadCommittedCauseWritersToBlockReaders()
For the underlying database, is READ_COMMITTED isolation implemented by
forcing readers to wait for write locks to be released?
|
boolean |
doesRepeatableReadCauseReadersToBlockWriters()
For the underlying database, is REPEATABLE_READ isolation implemented by
forcing writers to wait for read locks to be released?
|
boolean |
forUpdateOfColumns()
Is FOR UPDATE OF syntax supported?
|
String |
getCurrentTimestampSelectString()
Retrieve the command used to retrieve the current timestammp from the
database.
|
String |
getCurrentTimestampSQLFunctionName()
Expression for current_timestamp
|
String |
getIdentitySelectString()
Get the select command used to retrieve the last generated sequence
value.
|
String |
getLimitString(String querySelect,
int offset,
int limit)
Add a LIMIT clause to the given SQL SELECT
|
String |
getQuerySequencesString()
Get the select command used retrieve the names of all sequences.
|
boolean |
isCurrentTimestampSelectStringCallable()
Should the value returned by
getCurrentTimestampSelectString() be
treated as callable. |
protected void |
registerDateTimeColumnTypes()
Register column types date, time, timestamp
|
protected void |
registerDateTimeFunctions()
Register functions current_time, current_timestamp, current_date
|
boolean |
supportsCurrentTimestampSelection()
Does this dialect support a way to retrieve the database's current
timestamp value?
|
boolean |
supportsLimitOffset()
Does this dialect's LIMIT support (if any) additionally support
specifying an offset?
|
boolean |
supportsOuterJoinForUpdate()
Does this dialect support FOR UPDATE in conjunction with outer
joined rows?
|
boolean |
supportsPooledSequences()
Does this dialect support "pooled" sequences.
|
boolean |
supportsUnionAll()
Does this dialect support UNION ALL, which is generally a faster variant
of UNION?
|
boolean |
supportsVariableLimit()
Does this dialect support bind variables (i.e., prepared statememnt
parameters) for its limit/offset?
|
boolean |
useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead
of a total number of returned rows?
|
dropConstraints, generateTemporaryTableName, getAddColumnString, getCreateSequenceString, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getDropSequenceString, getLowercaseFunction, getNullColumnString, getSelectGUIDString, getSelectSequenceNextValString, getSequenceNextValString, supportsEmptyInList, supportsExpectedLobUsagePattern, supportsForUpdateOf, supportsLimit, supportsSequences, supportsSubselectAsInPredicateLHS, supportsTemporaryTables, supportsTupleDistinctCounts
appendIdentitySelectToInsert, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildLimitHandler, buildSQLExceptionConversionDelegate, buildSQLExceptionConverter, cast, cast, cast, closeQuote, contributeTypes, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, dropTemporaryTableAfterUse, forceLimitUsage, forceLobAsLastValue, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getCascadeConstraintsString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateMultisetTableString, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSequenceStrings, getDropTableString, getDropTemporaryTableString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnString, getIdentityColumnString, getIdentityInsertString, getIdentitySelectString, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getMaxAliasLength, getNativeIdentifierGeneratorClass, getNoColumnsInsertString, getNotExpression, getReadLockString, getResultSet, getSelectClauseNullString, getSqlTypeDescriptorOverride, getTableComment, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getViolatedConstraintNameExtracter, getWriteLockString, hasAlterTable, hasDataTypeInIdentityColumn, hasSelfReferentialForeignKeyBug, isLockTimeoutParameterized, openQuote, performTemporaryTableDDLInIsolation, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsCommentOn, supportsExistsInSelect, supportsIdentityColumns, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsInsertSelectIdentity, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNotNullUnique, supportsParametersInInsertSelect, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsTableCheck, supportsTupleCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useInputStreamToInsertBlob
protected void registerDateTimeFunctions()
protected void registerDateTimeColumnTypes()
public boolean supportsOuterJoinForUpdate()
supportsOuterJoinForUpdate
in class Dialect
public boolean forUpdateOfColumns()
forUpdateOfColumns
in class Dialect
public String getIdentitySelectString()
getIdentitySelectString
in class Dialect
public String getQuerySequencesString()
getQuerySequencesString
in class IngresDialect
SchemaUpdate
public boolean supportsPooledSequences()
supportsPooledSequences
in class Dialect
Dialect.getCreateSequenceStrings(String, int, int)
,
Dialect.getCreateSequenceString(String, int, int)
public boolean isCurrentTimestampSelectStringCallable()
getCurrentTimestampSelectString()
be
treated as callable. Typically this indicates that JDBC escape sytnax is
being used...isCurrentTimestampSelectStringCallable
in class Dialect
getCurrentTimestampSelectString()
return is
callable; false otherwise.public boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection
in class Dialect
public String getCurrentTimestampSelectString()
getCurrentTimestampSelectString
in class Dialect
public String getCurrentTimestampSQLFunctionName()
getCurrentTimestampSQLFunctionName
in class IngresDialect
public boolean supportsUnionAll()
supportsUnionAll
in class Dialect
public boolean doesReadCommittedCauseWritersToBlockReaders()
doesReadCommittedCauseWritersToBlockReaders
in class Dialect
public boolean doesRepeatableReadCauseReadersToBlockWriters()
doesRepeatableReadCauseReadersToBlockWriters
in class Dialect
public boolean supportsLimitOffset()
supportsLimitOffset
in class IngresDialect
public boolean supportsVariableLimit()
supportsVariableLimit
in class IngresDialect
public boolean useMaxForLimit()
useMaxForLimit
in class IngresDialect
public String getLimitString(String querySelect, int offset, int limit)
getLimitString
in class IngresDialect
querySelect
- The query to which to apply the limit.offset
- The offset of the limitlimit
- The limit of the limit ;)Copyright © 2018 JBoss by Red Hat. All rights reserved.