|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.dialect.Dialect
org.hibernate.dialect.SybaseDialect
An SQL dialect compatible with Sybase and MS SQL Server.
| Field Summary |
| Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
| Constructor Summary | |
SybaseDialect()
|
|
| Method Summary | |
String |
appendIdentitySelectToInsert(String insertSQL)
Append a clause to retrieve the generated identity value for the given INSERT statement. |
String |
appendLockHint(LockMode mode,
String tableName)
Method appendLockHint appends according to the given
lock mode a lock hint behind the given table name, if this dialect
needs this. |
boolean |
dropTemporaryTableAfterUse()
|
String |
generateTemporaryTableName(String baseTableName)
|
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getCurrentTimestampSelectString()
|
String |
getForUpdateString()
Does this dialect support the FOR UPDATE syntax? |
String |
getIdentityColumnString()
|
String |
getIdentitySelectString()
|
String |
getNullColumnString()
The keyword used to specify a nullable column. |
ResultSet |
getResultSet(CallableStatement ps)
|
boolean |
isCurrentTimestampSelectStringCallable()
|
boolean |
qualifyIndexName()
Do we need to qualify index names with the schema name? |
int |
registerResultSetOutParameter(CallableStatement statement,
int col)
|
boolean |
supportsCurrentTimestampSelection()
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
boolean |
supportsInsertSelectIdentity()
|
boolean |
supportsTemporaryTables()
|
| 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 Dialectpublic String getNullColumnString()
Dialect
getNullColumnString in class Dialectpublic boolean qualifyIndexName()
Dialect
qualifyIndexName in class Dialectpublic String getForUpdateString()
Dialect
getForUpdateString in class Dialectpublic boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns in class Dialectpublic String getIdentitySelectString()
getIdentitySelectString in class Dialectpublic String getIdentityColumnString()
getIdentityColumnString in class Dialectpublic boolean supportsInsertSelectIdentity()
supportsInsertSelectIdentity in class Dialectpublic String appendIdentitySelectToInsert(String insertSQL)
Dialect
appendIdentitySelectToInsert in class Dialect
public String appendLockHint(LockMode mode,
String tableName)
DialectappendLockHint appends according to the given
lock mode a lock hint behind the given table name, if this dialect
needs this. MS SQL Server for example doesn't support the
standard "select ... for update" syntax and use a
special "select ... from TABLE as ALIAS with (updlock, rowlock)
where ..." syntax instead.
appendLockHint in class DialecttableName - name of table to append lock hint
public int registerResultSetOutParameter(CallableStatement statement,
int col)
throws SQLException
registerResultSetOutParameter in class DialectSQLException
public ResultSet getResultSet(CallableStatement ps)
throws SQLException
getResultSet in class DialectSQLExceptionpublic boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection in class Dialectpublic boolean isCurrentTimestampSelectStringCallable()
isCurrentTimestampSelectStringCallable in class Dialectpublic String getCurrentTimestampSelectString()
getCurrentTimestampSelectString in class Dialectpublic boolean supportsTemporaryTables()
supportsTemporaryTables in class Dialectpublic String generateTemporaryTableName(String baseTableName)
generateTemporaryTableName in class Dialectpublic boolean dropTemporaryTableAfterUse()
dropTemporaryTableAfterUse in class Dialect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||