|
|||||||||||
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
org.hibernate.dialect.SQLServerDialect
A dialect for Microsoft SQL Server 2000
Nested Class Summary | |
static class |
SQLServerDialect.TrimFunction
A SQLServer-specific version of the ANSI-SQL trim function as SQLServer does not support such a thing. |
Field Summary |
Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
SQLServerDialect()
|
Method Summary | |
String |
appendIdentitySelectToInsert(String insertSQL)
Use insert table(...) values(...) select SCOPE_IDENTITY() |
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. |
char |
closeQuote()
The closing quote for a quoted identifier |
String |
getCurrentTimestampSelectString()
|
String |
getLimitString(String querySelect,
int offset,
int limit)
|
String |
getNoColumnsInsertString()
The keyword used to insert a row without specifying any column values. |
String |
getSelectGUIDString()
|
char |
openQuote()
The opening quote for a quoted identifier |
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsLimitOffset()
Does this dialect support an offset? |
boolean |
supportsVariableLimit()
|
boolean |
useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SQLServerDialect()
Method Detail |
public String getNoColumnsInsertString()
Dialect
getNoColumnsInsertString
in class Dialect
public String getLimitString(String querySelect, int offset, int limit)
getLimitString
in class Dialect
public String appendIdentitySelectToInsert(String insertSQL)
appendIdentitySelectToInsert
in class SybaseDialect
public boolean supportsLimit()
Dialect
supportsLimit
in class Dialect
public boolean useMaxForLimit()
Dialect
useMaxForLimit
in class Dialect
public boolean supportsLimitOffset()
Dialect
supportsLimitOffset
in class Dialect
public boolean supportsVariableLimit()
supportsVariableLimit
in class Dialect
public char closeQuote()
Dialect
closeQuote
in class Dialect
public char openQuote()
Dialect
openQuote
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 SybaseDialect
public String getSelectGUIDString()
getSelectGUIDString
in class Dialect
public String getCurrentTimestampSelectString()
getCurrentTimestampSelectString
in class SybaseDialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |