站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

DB2390Dialect (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.dialect
Class DB2390Dialect

java.lang.Object
  extended bynet.sf.hibernate.dialect.Dialect
      extended bynet.sf.hibernate.dialect.DB2Dialect
          extended bynet.sf.hibernate.dialect.DB2390Dialect

public class DB2390Dialect
extends DB2Dialect

An SQL dialect for DB2/390. This class provides support for DB2 Universal Database for OS/390, also known as DB2/390.

Author:
Kristoffer Dyrkorn

Field Summary
 
Fields inherited from class net.sf.hibernate.dialect.Dialect
CLOSED_QUOTE, QUOTE
 
Constructor Summary
DB2390Dialect()
           
 
Method Summary
 String getIdentitySelectString()
          The syntax that returns the identity value of the last insert, if identity column key generation is supported.
 String getLimitString(String sql, boolean hasOffset, int limit)
           
 boolean supportsLimit()
          Does this Dialect have some kind of LIMIT syntax?
 boolean supportsLimitOffset()
          Does this dialect support an offset?
 boolean supportsSequences()
          Does this dialect support sequences?
 boolean supportsVariableLimit()
           
 boolean useMaxForLimit()
          Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows?
 
Methods inherited from class net.sf.hibernate.dialect.DB2Dialect
dropConstraints, getAddColumnString, getCreateSequenceString, getDropSequenceString, getIdentityColumnString, getIdentityInsertString, getLimitString, getSequenceNextValString, supportsIdentityColumns
 
Methods inherited from class net.sf.hibernate.dialect.Dialect
appendIdentitySelectToInsert, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConverter, closeQuote, createCaseFragment, createOuterJoinFragment, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getCascadeConstraintsString, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getFunctions, getLowercaseFunction, getNoColumnsInsertString, getNullColumnString, getQuerySequencesString, getSchemaSeparator, getTypeName, getTypeName, getViolatedConstraintNameExtracter, hasAlterTable, hasDataTypeInIdentityColumn, openQuote, qualifyIndexName, registerColumnType, registerColumnType, registerFunction, supportsCheck, supportsForUpdate, supportsForUpdateNowait, supportsForUpdateOf, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsUnique, supportsUniqueConstraintInCreateAlterTable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DB2390Dialect

public DB2390Dialect()
Method Detail

supportsSequences

public boolean supportsSequences()
Description copied from class: Dialect
Does this dialect support sequences?

Overrides:
supportsSequences in class DB2Dialect

getIdentitySelectString

public String getIdentitySelectString()
Description copied from class: Dialect
The syntax that returns the identity value of the last insert, if identity column key generation is supported.

Overrides:
getIdentitySelectString in class DB2Dialect

supportsLimit

public boolean supportsLimit()
Description copied from class: Dialect
Does this Dialect have some kind of LIMIT syntax?

Overrides:
supportsLimit in class DB2Dialect

supportsLimitOffset

public boolean supportsLimitOffset()
Description copied from class: Dialect
Does this dialect support an offset?

Overrides:
supportsLimitOffset in class Dialect

getLimitString

public String getLimitString(String sql,
                             boolean hasOffset,
                             int limit)
Overrides:
getLimitString in class Dialect

useMaxForLimit

public boolean useMaxForLimit()
Description copied from class: Dialect
Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows?

Overrides:
useMaxForLimit in class DB2Dialect

supportsVariableLimit

public boolean supportsVariableLimit()
Overrides:
supportsVariableLimit in class Dialect