@Deprecated public class DerbyDialect extends DB2Dialect
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, NO_BATCH, QUOTE, STANDARD_DEFAULT_BATCH_LOAD_SIZING_STRATEGY, STREAM_XFER_LOB_MERGE_STRATEGY| Constructor and Description | 
|---|
| DerbyDialect()Deprecated.  Constructs a DerbyDialect | 
| Modifier and Type | Method and Description | 
|---|---|
| IdentifierHelper | buildIdentifierHelper(IdentifierHelperBuilder builder,
                     DatabaseMetaData dbMetaData)Deprecated.  Build the IdentifierHelper indicated by this Dialect for handling identifier conversions. | 
| CaseFragment | createCaseFragment()Deprecated.  Create a  CaseFragmentstrategy responsible
 for handling this dialect's variations in how CASE statements are
 handled. | 
| boolean | dropConstraints()Deprecated.  Do we need to drop constraints before dropping tables in this dialect? | 
| String | getCrossJoinSeparator()Deprecated.  Returns the separator to use for defining cross joins when translating HQL queries. | 
| String | getForUpdateString()Deprecated.  Get the string to append to SELECT statements to acquire locks
 for this dialect. | 
| LimitHandler | getLimitHandler()Deprecated.  Returns the delegate managing LIMIT clause. | 
| String | getLimitString(String query,
              int offset,
              int limit)Deprecated.  Given a limit and an offset, apply the limit clause to the query. | 
| String | getQuerySequencesString()Deprecated.  Get the select command used retrieve the names of all sequences. | 
| String | getReadLockString(int timeout)Deprecated.  Get the string to append to SELECT statements to acquire WRITE locks
 for this dialect. | 
| String | getSequenceNextValString(String sequenceName)Deprecated.  Generate the appropriate select statement to to retrieve the next value
 of a sequence. | 
| String | getWriteLockString(int timeout)Deprecated.  Get the string to append to SELECT statements to acquire WRITE locks
 for this dialect. | 
| protected void | registerDerbyKeywords()Deprecated.  | 
| boolean | supportsCommentOn()Deprecated.  Does this dialect/database support commenting on tables, columns, etc? | 
| boolean | supportsLimit()Deprecated.  Does this dialect support some form of limiting query results
 via a SQL clause? | 
| boolean | supportsLimitOffset()Deprecated.  Does this dialect's LIMIT support (if any) additionally
 support specifying an offset? | 
| boolean | supportsLobValueChangePropogation()Deprecated.  Does the dialect support propagating changes to LOB
 values back to the database?  Talking about mutating the
 internal value of the locator as opposed to supplying a new
 locator instance... | 
| boolean | supportsSequences()Deprecated.  Does this dialect support sequences? | 
| boolean | supportsTuplesInSubqueries()Deprecated.  Does this dialect support tuples in subqueries?  Ex:
 delete from Table1 where (col1, col2) in (select col1, col2 from Table2) | 
| boolean | supportsUnboundedLobLocatorMaterialization()Deprecated.  Is it supported to materialize a LOB locator outside the transaction in
 which it was created?
 
 Again, part of the trickiness here is the fact that this is largely
 driver dependent. | 
| boolean | supportsVariableLimit()Deprecated.  Does this dialect support bind variables (i.e., prepared statement
 parameters) for its limit/offset? | 
buildSQLExceptionConversionDelegate, convertToFirstRowValue, doesReadCommittedCauseWritersToBlockReaders, getAddColumnString, getCreateSequenceString, getCurrentTimestampSelectString, getDefaultMultiTableBulkIdStrategy, getDropSequenceString, getIdentityColumnSupport, getLowercaseFunction, getNotExpression, getResultSet, getSelectClauseNullString, getSelectSequenceNextValString, getSqlTypeDescriptorOverride, getUniqueDelegate, isCurrentTimestampSelectStringCallable, registerResultSetOutParameter, renderOrderByElement, requiresCastingOfParametersInSelectClause, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsLockTimeouts, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsTupleDistinctCounts, supportsUnionAll, useMaxForLimitappendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, closeQuote, contributeTypes, createOuterJoinFragment, defaultScrollMode, doesRepeatableReadCauseReadersToBlockWriters, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAuxiliaryDatabaseObjectExporter, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCurrentSchemaCommand, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getResultSet, getResultSet, getSchemaNameResolver, getSelectGUIDString, getSequenceExporter, getSequenceInformationExtractor, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueKeyExporter, getViolatedConstraintNameExtracter, hasAlterTable, hasSelfReferentialForeignKeyBug, isJdbcLogWarningsEnabledByDefault, isLockTimeoutParameterized, openQuote, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, replaceResultVariableInOrderByClauseWithPosition, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExpectedLobUsagePattern, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsNamedParameters, supportsNationalizedTypes, supportsNotNullUnique, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsUnique, supportsUniqueConstraintInCreateAlterTable, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useInputStreamToInsertBlobpublic String getCrossJoinSeparator()
DialectgetCrossJoinSeparator in class DB2Dialectpublic CaseFragment createCaseFragment()
DialectCaseFragment strategy responsible
 for handling this dialect's variations in how CASE statements are
 handled.createCaseFragment in class DialectCaseFragment strategy.public boolean dropConstraints()
DialectdropConstraints in class DB2Dialectpublic boolean supportsSequences()
DialectsupportsSequences in class DB2Dialectpublic String getQuerySequencesString()
DialectgetQuerySequencesString in class DB2DialectSchemaUpdatepublic String getSequenceNextValString(String sequenceName)
DialectgetSequenceNextValString in class DB2DialectsequenceName - the name of the sequencepublic boolean supportsLimit()
DialectsupportsLimit in class DB2Dialectpublic boolean supportsCommentOn()
DialectsupportsCommentOn in class DB2Dialecttrue if commenting is supportedpublic boolean supportsLimitOffset()
DialectsupportsLimitOffset in class Dialectpublic String getForUpdateString()
DialectgetForUpdateString in class DB2Dialectpublic String getWriteLockString(int timeout)
DialectgetWriteLockString in class Dialecttimeout - in milliseconds, -1 for indefinite wait and 0 for no wait.public String getReadLockString(int timeout)
DialectgetReadLockString in class Dialecttimeout - in milliseconds, -1 for indefinite wait and 0 for no wait.public LimitHandler getLimitHandler()
DialectgetLimitHandler in class DB2Dialectpublic boolean supportsTuplesInSubqueries()
DialectsupportsTuplesInSubqueries in class Dialectpublic String getLimitString(String query, int offset, int limit)
 Query
 [ORDER BY clause]
 [result offset clause]
 [fetch first clause]
 [FOR UPDATE clause]
 [WITH {RR|RS|CS|UR}]
 getLimitString in class DB2Dialectquery - The query to which to apply the limit.offset - The offset of the limitlimit - The limit of the limit ;)public boolean supportsVariableLimit()
DialectsupportsVariableLimit in class DB2Dialectpublic boolean supportsLobValueChangePropogation()
DialectBlob.setBinaryStream(long),
 Blob.setBytes(long, byte[]),
 Blob.setBytes(long, byte[], int, int),
 or Blob.truncate(long).
 
 For CLOBs, the internal value might be changed by:
 Clob.setAsciiStream(long),
 Clob.setCharacterStream(long),
 Clob.setString(long, String),
 Clob.setString(long, String, int, int),
 or Clob.truncate(long).
 
 NOTE : I do not know the correct answer currently for
 databases which (1) are not part of the cruise control process
 or (2) do not Dialect.supportsExpectedLobUsagePattern().supportsLobValueChangePropogation in class DB2Dialectpublic boolean supportsUnboundedLobLocatorMaterialization()
DialectDialect.supportsExpectedLobUsagePattern()
 also support the ability to materialize a LOB outside the owning transaction...supportsUnboundedLobLocatorMaterialization in class Dialectpublic IdentifierHelper buildIdentifierHelper(IdentifierHelperBuilder builder, DatabaseMetaData dbMetaData) throws SQLException
Dialectnull is allowed and indicates that Hibernate should fallback to building a
 "standard" helper.  In the fallback path, any changes made to the IdentifierHelperBuilder
 during this call will still be incorporated into the built IdentifierHelper.
 
 The incoming builder will have the following set:IdentifierHelperBuilder.isGloballyQuoteIdentifiers()IdentifierHelperBuilder.getUnquotedCaseStrategy() - initialized to UPPERIdentifierHelperBuilder.getQuotedCaseStrategy() - initialized to MIXEDIdentifierHelperBuilder.applyIdentifierCasing(DatabaseMetaData)
     IdentifierHelperBuilder.applyReservedWords(DatabaseMetaData)
     AnsiSqlKeywords.sql2003() as reserved wordsbuildIdentifierHelper in class Dialectbuilder - A semi-configured IdentifierHelper builder.dbMetaData - Access to the metadata returned from the driver if needed and if available.  WARNING: may be nullnull to indicate Hibernate should use its fallback pathSQLException - Accessing the DatabaseMetaData can throw it.  Just re-throw and Hibernate will handle.Dialect.getNameQualifierSupport()protected void registerDerbyKeywords()
Copyright © 2017 JBoss by Red Hat. All rights reserved.