|
|||||||||||
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 Dialect
public String getNullColumnString()
Dialect
getNullColumnString
in class Dialect
public boolean qualifyIndexName()
Dialect
qualifyIndexName
in class Dialect
public String getForUpdateString()
Dialect
getForUpdateString
in class Dialect
public boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns
in class Dialect
public String getIdentitySelectString()
getIdentitySelectString
in class Dialect
public String getIdentityColumnString()
getIdentityColumnString
in class Dialect
public boolean supportsInsertSelectIdentity()
supportsInsertSelectIdentity
in class Dialect
public String appendIdentitySelectToInsert(String insertSQL)
Dialect
appendIdentitySelectToInsert
in class Dialect
public String appendLockHint(LockMode mode, String tableName)
Dialect
appendLockHint
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 Dialect
tableName
- name of table to append lock hint
public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException
registerResultSetOutParameter
in class Dialect
SQLException
public ResultSet getResultSet(CallableStatement ps) throws SQLException
getResultSet
in class Dialect
SQLException
public boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection
in class Dialect
public boolean isCurrentTimestampSelectStringCallable()
isCurrentTimestampSelectStringCallable
in class Dialect
public String getCurrentTimestampSelectString()
getCurrentTimestampSelectString
in class Dialect
public boolean supportsTemporaryTables()
supportsTemporaryTables
in class Dialect
public String generateTemporaryTableName(String baseTableName)
generateTemporaryTableName
in class Dialect
public boolean dropTemporaryTableAfterUse()
dropTemporaryTableAfterUse
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |