|
|||||||||||
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.MckoiDialect
An SQL dialect compatible with McKoi SQL
Field Summary |
Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
MckoiDialect()
|
Method Summary | |
CaseFragment |
createCaseFragment()
Create a CaseFragment for this dialect. |
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence, if sequences are supported. |
String |
getDropSequenceString(String sequenceName)
The syntax used to drop a sequence, if sequences are supported. |
String |
getForUpdateString()
Retrieves the FOR UPDATE syntax specific to this dialect. |
LockingStrategy |
getLockingStrategy(Lockable lockable,
LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect. |
String |
getSelectSequenceNextValString(String sequenceName)
Generate the select expression fragment that will retreive the next value of a sequence, if sequences are supported. |
String |
getSequenceNextValString(String sequenceName)
Generate the appropriate select statement to to retreive the next value of a sequence, if sequences are supported. |
boolean |
supportsSequences()
Does this dialect support sequences? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MckoiDialect()
Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString
in class Dialect
public String getSequenceNextValString(String sequenceName)
Dialect
getSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public String getSelectSequenceNextValString(String sequenceName)
Dialect
Dialect.getSequenceNextValString(String)
in that this
should return an expression usable within another select statement.
getSelectSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public String getCreateSequenceString(String sequenceName)
Dialect
getCreateSequenceString
in class Dialect
sequenceName
- the name of the sequence
public String getDropSequenceString(String sequenceName)
Dialect
getDropSequenceString
in class Dialect
sequenceName
- the name of the sequence
public String getForUpdateString()
Dialect
getForUpdateString
in class Dialect
public boolean supportsSequences()
Dialect
supportsSequences
in class Dialect
public CaseFragment createCaseFragment()
Dialect
createCaseFragment
in class Dialect
public LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode)
Dialect
getLockingStrategy
in class Dialect
lockable
- The persister for the entity to be locked.lockMode
- The type of lock to be acquired.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |