|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.dialect.Dialect net.sf.hibernate.dialect.SybaseDialect
An SQL dialect compatible with Sybase and MS SQL Server.
Field Summary |
Fields inherited from class net.sf.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
SybaseDialect()
|
Method Summary | |
String |
appendIdentitySelectToInsert(String insertSQL)
Generate SQL to get the identifier of an inserted row. |
String |
appendLockHint(LockMode mode,
String tableName)
|
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getIdentityColumnString()
The keyword used to specify an identity column, if identity column key generation is supported. |
String |
getIdentitySelectString()
The syntax that returns the identity value of the last insert, if identity column key generation is supported. |
String |
getNoColumnsInsertString()
The keyword used to insert a row without specifying any column values |
String |
getNullColumnString()
The keyword used to specify a nullable column. |
boolean |
qualifyIndexName()
Do we need to qualify index names with the schema name? |
boolean |
supportsForUpdate()
Does this dialect support the FOR UPDATE syntax? |
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SybaseDialect()
Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString
in class Dialect
public String getNullColumnString()
Dialect
getNullColumnString
in class Dialect
public boolean qualifyIndexName()
Dialect
qualifyIndexName
in class Dialect
public boolean supportsForUpdate()
Dialect
supportsForUpdate
in class Dialect
public boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns
in class Dialect
public String getIdentitySelectString()
Dialect
getIdentitySelectString
in class Dialect
public String getIdentityColumnString()
Dialect
getIdentityColumnString
in class Dialect
public String getNoColumnsInsertString()
Dialect
getNoColumnsInsertString
in class Dialect
public String appendIdentitySelectToInsert(String insertSQL)
Dialect
appendIdentitySelectToInsert
in class Dialect
insertSQL
- a parameterized SQL statement to insert a row into a table.
null
if this dialect doesn't support this feature.public String appendLockHint(LockMode mode, String tableName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |