public class TimesTenDialect 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 | 
|---|
TimesTenDialect()
Constructs a TimesTenDialect 
 | 
| Modifier and Type | Method and Description | 
|---|---|
JoinFragment | 
createOuterJoinFragment()
Create a  
JoinFragment strategy responsible
 for handling this dialect's variations in how joins are handled. | 
boolean | 
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? 
 | 
String | 
generateTemporaryTableName(String baseTableName)
Generate a temporary table name given the base table. 
 | 
String | 
getAddColumnString()
The syntax used to add a column to a table (optional). 
 | 
String | 
getCreateSequenceString(String sequenceName)
Typically dialects which support sequences can create a sequence
 with a single command. 
 | 
String | 
getCreateTemporaryTablePostfix()
Get any fragments needing to be postfixed to the command for
 temporary table creation. 
 | 
String | 
getCreateTemporaryTableString()
Command used to create a temporary table. 
 | 
String | 
getCrossJoinSeparator()
Returns the separator to use for defining cross joins when translating HQL queries. 
 | 
String | 
getCurrentTimestampSelectString()
Retrieve the command used to retrieve the current timestamp from the
 database. 
 | 
String | 
getDropSequenceString(String sequenceName)
Typically dialects which support sequences can drop a sequence
 with a single command. 
 | 
String | 
getForUpdateString()
Get the string to append to SELECT statements to acquire locks
 for this dialect. 
 | 
String | 
getLimitString(String querySelect,
              int offset,
              int limit)
Given a limit and an offset, apply the limit clause to the query. 
 | 
LockingStrategy | 
getLockingStrategy(Lockable lockable,
                  LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock
 of the specified mode for this dialect. 
 | 
String | 
getQuerySequencesString()
Get the select command used retrieve the names of all sequences. 
 | 
String | 
getSelectSequenceNextValString(String sequenceName)
Generate the select expression fragment that will retrieve the next
 value of a sequence as part of another (typically DML) statement. 
 | 
String | 
getSequenceNextValString(String sequenceName)
Generate the appropriate select statement to to retrieve the next value
 of a sequence. 
 | 
boolean | 
isCurrentTimestampSelectStringCallable()
Should the value returned by  
Dialect.getCurrentTimestampSelectString()
 be treated as callable. | 
boolean | 
qualifyIndexName()
Do we need to qualify index names with the schema name? 
 | 
boolean | 
supportsColumnCheck()
Does this dialect support column-level check constraints? 
 | 
boolean | 
supportsCurrentTimestampSelection()
Does this dialect support a way to retrieve the database's current
 timestamp value? 
 | 
boolean | 
supportsEmptyInList()
Does this dialect support empty IN lists?
 
 For example, is [where XYZ in ()] a supported construct? 
 | 
boolean | 
supportsLimit()
Does this dialect support some form of limiting query results
 via a SQL clause? 
 | 
boolean | 
supportsLimitOffset()
Does this dialect's LIMIT support (if any) additionally
 support specifying an offset? 
 | 
boolean | 
supportsSequences()
Does this dialect support sequences? 
 | 
boolean | 
supportsTableCheck()
Does this dialect support table-level check constraints? 
 | 
boolean | 
supportsTemporaryTables()
Does this dialect support temporary tables? 
 | 
boolean | 
supportsVariableLimit()
Does this dialect support bind variables (i.e., prepared statement
 parameters) for its limit/offset? 
 | 
boolean | 
useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead
 of a total number of returned rows?
 
 This is easiest understood via an example. 
 | 
appendIdentitySelectToInsert, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildLimitHandler, buildSQLExceptionConversionDelegate, buildSQLExceptionConverter, cast, cast, cast, closeQuote, contributeTypes, convertToFirstRowValue, createCaseFragment, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, dropTemporaryTableAfterUse, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCurrentTimestampSQLFunctionName, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getDropTemporaryTableString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnString, getIdentityColumnString, getIdentityInsertString, getIdentitySelectString, getIdentitySelectString, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLowercaseFunction, getMaxAliasLength, getNativeIdentifierGeneratorClass, getNoColumnsInsertString, getNotExpression, getNullColumnString, getQueryHintString, getReadLockString, getResultSet, getResultSet, getResultSet, getSelectClauseNullString, getSelectGUIDString, getSqlTypeDescriptorOverride, getTableComment, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getViolatedConstraintNameExtracter, getWriteLockString, hasAlterTable, hasDataTypeInIdentityColumn, hasSelfReferentialForeignKeyBug, isLockTimeoutParameterized, openQuote, performTemporaryTableDDLInIsolation, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsCommentOn, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsIdentityColumns, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsInsertSelectIdentity, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTupleCounts, supportsTupleDistinctCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, supportsUnique, supportsUniqueConstraintInCreateAlterTable, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useInputStreamToInsertBlobpublic boolean dropConstraints()
DialectdropConstraints in class Dialectpublic boolean qualifyIndexName()
DialectqualifyIndexName in class Dialectpublic String getAddColumnString()
DialectgetAddColumnString in class Dialectpublic boolean supportsSequences()
DialectsupportsSequences in class Dialectpublic String getSelectSequenceNextValString(String sequenceName)
DialectDialect.getSequenceNextValString(String) in that this
 should return an expression usable within another statement.getSelectSequenceNextValString in class DialectsequenceName - the name of the sequencepublic String getSequenceNextValString(String sequenceName)
DialectgetSequenceNextValString in class DialectsequenceName - the name of the sequencepublic String getCreateSequenceString(String sequenceName)
DialectDialect.getCreateSequenceStrings(java.lang.String) to help facilitate that.
 
 Dialects which support sequences and can create a sequence in a
 single command need *only* override this method.  Dialects
 which support sequences but require multiple commands to create
 a sequence should instead override Dialect.getCreateSequenceStrings(java.lang.String).getCreateSequenceString in class DialectsequenceName - The name of the sequencepublic String getDropSequenceString(String sequenceName)
DialectDialect.getDropSequenceStrings(java.lang.String) to help facilitate that.
 
 Dialects which support sequences and can drop a sequence in a
 single command need *only* override this method.  Dialects
 which support sequences but require multiple commands to drop
 a sequence should instead override Dialect.getDropSequenceStrings(java.lang.String).getDropSequenceString in class DialectsequenceName - The name of the sequencepublic String getQuerySequencesString()
DialectgetQuerySequencesString in class DialectSchemaUpdatepublic JoinFragment createOuterJoinFragment()
DialectJoinFragment strategy responsible
 for handling this dialect's variations in how joins are handled.createOuterJoinFragment in class DialectJoinFragment strategy.public String getCrossJoinSeparator()
DialectgetCrossJoinSeparator in class Dialectpublic String getForUpdateString()
DialectgetForUpdateString in class Dialectpublic boolean supportsColumnCheck()
DialectsupportsColumnCheck in class Dialectpublic boolean supportsTableCheck()
DialectsupportsTableCheck in class Dialectpublic boolean supportsLimitOffset()
DialectsupportsLimitOffset in class Dialectpublic boolean supportsVariableLimit()
DialectsupportsVariableLimit in class Dialectpublic boolean supportsLimit()
DialectsupportsLimit in class Dialectpublic boolean useMaxForLimit()
DialectuseMaxForLimit in class Dialectpublic String getLimitString(String querySelect, int offset, int limit)
DialectgetLimitString in class DialectquerySelect - The query to which to apply the limit.offset - The offset of the limitlimit - The limit of the limit ;)public boolean supportsCurrentTimestampSelection()
DialectsupportsCurrentTimestampSelection in class Dialectpublic String getCurrentTimestampSelectString()
DialectgetCurrentTimestampSelectString in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
DialectDialect.getCurrentTimestampSelectString()
 be treated as callable.  Typically this indicates that JDBC escape
 syntax is being used...isCurrentTimestampSelectStringCallable in class DialectDialect.getCurrentTimestampSelectString() return
 is callable; false otherwise.public boolean supportsTemporaryTables()
DialectsupportsTemporaryTables in class Dialectpublic String generateTemporaryTableName(String baseTableName)
DialectgenerateTemporaryTableName in class DialectbaseTableName - The table name from which to base the temp table name.public String getCreateTemporaryTableString()
DialectgetCreateTemporaryTableString in class Dialectpublic String getCreateTemporaryTablePostfix()
DialectgetCreateTemporaryTablePostfix in class Dialectpublic LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode)
DialectgetLockingStrategy in class Dialectlockable - The persister for the entity to be locked.lockMode - The type of lock to be acquired.public boolean supportsEmptyInList()
DialectsupportsEmptyInList in class DialectCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.