Top Description Constructors Methods
org.hibernate.dialect

public Class DB297Dialect

extends DB2Dialect
Class Inheritance
Imports
java.sql.Types, org.hibernate.dialect.function.DB2SubstringFunction, org.hibernate.hql.spi.id.IdTableSupportStandardImpl, .MultiTableBulkIdStrategy, org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy, org.hibernate.hql.spi.id.local.AfterUseAction, org.hibernate.type.descriptor.sql.CharTypeDescriptor, .ClobTypeDescriptor, .SqlTypeDescriptor, .VarcharTypeDescriptor

An SQL dialect for DB2 9.7.
Author
Gail Badner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getCrossJoinSeparator()

Overrides org.hibernate.dialect.DB2Dialect.getCrossJoinSeparator.

Returns the separator to use for defining cross joins when translating HQL queries.
public MultiTableBulkIdStrategy
protected SqlTypeDescriptor
getSqlTypeDescriptorOverride(int
A Types constant indicating the SQL column type
sqlCode
)

Overrides org.hibernate.dialect.DB2Dialect.getSqlTypeDescriptorOverride.

Returns the SqlTypeDescriptor that should be used to handle the given JDBC type code.
Inherited from org.hibernate.dialect.DB2Dialect:
buildSQLExceptionConversionDelegateconvertToFirstRowValuedoesReadCommittedCauseWritersToBlockReadersdropConstraintsgetAddColumnStringgetCreateSequenceStringgetCurrentTimestampSelectStringgetDropSchemaCommandgetDropSequenceStringgetForUpdateStringgetIdentityColumnSupportgetInExpressionCountLimitgetLimitHandlergetLimitStringgetLowercaseFunctiongetNotExpressiongetQuerySequencesStringgetResultSetgetSelectClauseNullStringgetSelectSequenceNextValStringgetSequenceInformationExtractorgetSequenceNextValStringgetUniqueDelegateisCurrentTimestampSelectStringCallableregisterResultSetOutParameterrenderOrderByElementrequiresCastingOfParametersInSelectClausesupportsCommentOnsupportsCurrentTimestampSelectionsupportsEmptyInListsupportsExistsInSelectsupportsLimitsupportsLobValueChangePropogationsupportsLockTimeoutssupportsOuterJoinForUpdatesupportsParametersInInsertSelectsupportsPartitionBysupportsPooledSequencessupportsResultSetPositionQueryMethodsOnForwardOnlyCursorsupportsSequencessupportsTupleDistinctCountssupportsUnionAllsupportsVariableLimituseMaxForLimit

Constructor Detail

DB297Dialectback to summary
public DB297Dialect()

Method Detail

getCrossJoinSeparatorback to summary
public String getCrossJoinSeparator()

Overrides org.hibernate.dialect.DB2Dialect.getCrossJoinSeparator.

Doc from org.hibernate.dialect.Dialect.getCrossJoinSeparator.

Returns the separator to use for defining cross joins when translating HQL queries.

Typically this will be either [ cross join ] or [, ]

Note that the spaces are important!

Returns:String

The cross join separator

Annotations
@Override
getDefaultMultiTableBulkIdStrategyback to summary
public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy()

Overrides org.hibernate.dialect.DB2Dialect.getDefaultMultiTableBulkIdStrategy.

Annotations
@Override
getSqlTypeDescriptorOverrideback to summary
protected SqlTypeDescriptor getSqlTypeDescriptorOverride(int sqlCode)

Overrides org.hibernate.dialect.DB2Dialect.getSqlTypeDescriptorOverride.

Doc from org.hibernate.dialect.Dialect.getSqlTypeDescriptorOverride.

Returns the SqlTypeDescriptor that should be used to handle the given JDBC type code. Returns null if there is no override.

Parameters
sqlCode:int

A Types constant indicating the SQL column type

Returns:SqlTypeDescriptor

The SqlTypeDescriptor to use as an override, or null if there is no override.

Annotations
@Override