当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
SybaseAnywhereDialect (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.dialect
Class SybaseAnywhereDialect
java.lang.Object
net.sf.hibernate.dialect.Dialect
net.sf.hibernate.dialect.SybaseDialect
net.sf.hibernate.dialect.SybaseAnywhereDialect
- public class SybaseAnywhereDialect
- extends SybaseDialect
SQL Dialect for Sybase Anywhere
extending Sybase (Enterprise) Dialect
(Tested on ASA 8.x)
- Author:
- ?
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.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 |
SybaseAnywhereDialect
public SybaseAnywhereDialect()
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