public class MimerSQLDialect extends Dialect
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 |
---|
MimerSQLDialect()
Even thoug Mimer SQL supports character and binary columns up to 15 000 in lenght,
this is also the maximum width of the table (exluding LOBs).
|
Modifier and Type | Method and Description |
---|---|
boolean |
dropConstraints()
We do not have to drop constraints before we drop the table
|
boolean |
forUpdateOfColumns()
Does the FOR UPDATE OF syntax specify particular
columns?
|
String |
getAddColumnString()
The syntax used to add a column to a table
|
String |
getCascadeConstraintsString()
The syntax for using cascade on constraints
|
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence.
|
String |
getDropSequenceString(String sequenceName)
The syntax used to drop sequences
|
String |
getQuerySequencesString()
The syntax for fetching all sequnces avialable in the current schema.
|
String |
getSequenceNextValString(String sequenceName)
The syntax used to get the next value of a sequence in Mimer SQL
|
boolean |
supportsForUpdate()
Support the FOR UPDATE syntax? For now, returns false since
the current version of the Mimer SQL JDBC Driver does not support
updatable resultsets.
|
boolean |
supportsIdentityColumns()
TODO: Check if Mimer SQL cannot handle the way DB2 does
|
boolean |
supportsLimit()
Mimer SQL does not support limit
|
boolean |
supportsOuterJoinForUpdate()
For now, simply return false since we don't updatable result sets.
|
boolean |
supportsSequences()
Mimer SQL supports sequences
|
appendIdentitySelectToInsert, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, buildSQLExceptionConverter, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, dropTemporaryTableAfterUse, forceLimitUsage, generateTemporaryTableName, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateMultisetTableString, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getCrossJoinSeparator, getCurrentTimestampSelectString, getCurrentTimestampSQLFunctionName, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSequenceStrings, getDropTemporaryTableString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnString, getIdentityColumnString, getIdentityInsertString, getIdentitySelectString, getIdentitySelectString, getKeywords, getLimitString, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNativeIdentifierGeneratorClass, getNoColumnsInsertString, getNullColumnString, getReadLockString, getResultSet, getSelectClauseNullString, getSelectGUIDString, getSelectSequenceNextValString, getSqlTypeDescriptorOverride, getTableComment, getTableTypeString, getTypeName, getTypeName, getViolatedConstraintNameExtracter, getWriteLockString, hasAlterTable, hasDataTypeInIdentityColumn, hasSelfReferentialForeignKeyBug, isCurrentTimestampSelectStringCallable, isLockTimeoutParameterized, openQuote, performTemporaryTableDDLInIsolation, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsInsertSelectIdentity, supportsLimitOffset, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNotNullUnique, supportsParametersInInsertSelect, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTemporaryTables, supportsTupleCounts, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useInputStreamToInsertBlob, useMaxForLimit
public MimerSQLDialect()
public String getAddColumnString()
getAddColumnString
in class Dialect
public boolean dropConstraints()
dropConstraints
in class Dialect
public boolean supportsIdentityColumns()
supportsIdentityColumns
in class Dialect
public boolean supportsSequences()
supportsSequences
in class Dialect
public String getSequenceNextValString(String sequenceName)
getSequenceNextValString
in class Dialect
sequenceName
- the name of the sequencepublic String getCreateSequenceString(String sequenceName)
getCreateSequenceString
in class Dialect
sequenceName
- The name of the sequencepublic String getDropSequenceString(String sequenceName)
getDropSequenceString
in class Dialect
sequenceName
- The name of the sequencepublic boolean supportsLimit()
supportsLimit
in class Dialect
public String getCascadeConstraintsString()
getCascadeConstraintsString
in class Dialect
public String getQuerySequencesString()
getQuerySequencesString
in class Dialect
SchemaUpdate
public boolean forUpdateOfColumns()
forUpdateOfColumns
in class Dialect
public boolean supportsForUpdate()
public boolean supportsOuterJoinForUpdate()
supportsOuterJoinForUpdate
in class Dialect
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.