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

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


net.sf.hibernate.dialect
Class SybaseAnywhereDialect

java.lang.Object
  extended bynet.sf.hibernate.dialect.Dialect
      extended bynet.sf.hibernate.dialect.SybaseDialect
          extended bynet.sf.hibernate.dialect.SybaseAnywhereDialect

public class SybaseAnywhereDialect
extends SybaseDialect

SQL Dialect for Sybase Anywhere extending Sybase (Enterprise) Dialect (Tested on ASA 8.x)

Author:
?

Field Summary
 
Fields inherited from class net.sf.hibernate.dialect.Dialect
CLOSED_QUOTE, QUOTE
 
Constructor Summary
SybaseAnywhereDialect()
           
 
Method Summary
 boolean dropConstraints()
          ASA does not require to drop constraint before dropping tables, and DROP statement syntax used by Hibernate to drop constraint is not compatible with ASA, so disable it
 String getNoColumnsInsertString()
          Sybase Anywhere syntax would require a "DEFAULT" for each column specified, but I suppose Hibernate use this syntax only with tables with just 1 column
 
Methods inherited from class net.sf.hibernate.dialect.SybaseDialect
appendIdentitySelectToInsert, appendLockHint, getAddColumnString, getIdentityColumnString, getIdentitySelectString, getNullColumnString, qualifyIndexName, supportsForUpdate, supportsIdentityColumns
 
Methods inherited from class net.sf.hibernate.dialect.Dialect
bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConverter, closeQuote, createCaseFragment, createOuterJoinFragment, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getCascadeConstraintsString, getCreateSequenceString, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSequenceString, getFunctions, getIdentityInsertString, getLimitString, getLimitString, getLowercaseFunction, getQuerySequencesString, getSchemaSeparator, getSequenceNextValString, getTypeName, getTypeName, getViolatedConstraintNameExtracter, hasAlterTable, hasDataTypeInIdentityColumn, openQuote, registerColumnType, registerColumnType, registerFunction, supportsCheck, supportsForUpdateNowait, supportsForUpdateOf, supportsIfExistsAfterTableName, supportsIfExistsBeforeTableName, supportsLimit, supportsLimitOffset, supportsSequences, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toString, useMaxForLimit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SybaseAnywhereDialect

public SybaseAnywhereDialect()
Method Detail

getNoColumnsInsertString

public String getNoColumnsInsertString()
Sybase Anywhere syntax would require a "DEFAULT" for each column specified, but I suppose Hibernate use this syntax only with tables with just 1 column

Overrides:
getNoColumnsInsertString in class SybaseDialect

dropConstraints

public boolean dropConstraints()
ASA does not require to drop constraint before dropping tables, and DROP statement syntax used by Hibernate to drop constraint is not compatible with ASA, so disable it

Overrides:
dropConstraints in class Dialect
Returns:
boolean