|
||||||||||
| 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.DB2Dialect
org.hibernate.dialect.DerbyDialect
public class DerbyDialect
| Nested Class Summary | |
|---|---|
static class |
DerbyDialect.DerbyTrimFunctionEmulation
A specialized function template to emulate the ANSI trim function on Derby DB since it does not support the full trim specification. |
| Field Summary |
|---|
| Fields inherited from class org.hibernate.dialect.Dialect |
|---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
| Constructor Summary | |
|---|---|
DerbyDialect()
|
|
| Method Summary | |
|---|---|
CaseFragment |
createCaseFragment()
Return the case statement modified for Cloudscape. |
boolean |
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? |
String |
getIdentityColumnString()
This is different in Cloudscape to DB2. |
Class |
getNativeIdentifierGeneratorClass()
The class (which implements IdentifierGenerator)
which acts as this dialects native generation strategy. |
String |
getQuerySequencesString()
Get the select command used retrieve the names of all sequences. |
boolean |
supportsLimit()
Does this dialect support some form of limiting query results via a SQL clause? |
boolean |
supportsLimitOffset()
Does this dialect's LIMIT support (if any) additionally support specifying an offset? |
boolean |
supportsLobValueChangePropogation()
Does the dialect support propogating changes to LOB values back to the database? Talking about mutating the internal value of the locator as opposed to supplying a new locator instance... |
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 DerbyDialect()
| Method Detail |
|---|
public String getIdentityColumnString()
getIdentityColumnString in class DB2Dialectpublic CaseFragment createCaseFragment()
createCaseFragment in class DialectCaseFragment strategy.public boolean dropConstraints()
Dialect
dropConstraints in class DB2Dialectpublic Class getNativeIdentifierGeneratorClass()
DialectIdentifierGenerator)
which acts as this dialects native generation strategy.
Comes into play whenever the user specifies the native generator.
getNativeIdentifierGeneratorClass in class Dialectpublic boolean supportsSequences()
Dialect
supportsSequences in class DB2Dialectpublic boolean supportsLimit()
Dialect
supportsLimit in class DB2Dialectpublic boolean supportsLimitOffset()
Dialect
supportsLimitOffset in class Dialectpublic String getQuerySequencesString()
Dialect
getQuerySequencesString in class DB2DialectSchemaUpdatepublic boolean supportsLobValueChangePropogation()
DialectBlob.setBinaryStream(long),
Blob.setBytes(long, byte[]),
Blob.setBytes(long, byte[], int, int),
or Blob.truncate(long).
For CLOBs, the internal value might be changed by:
Clob.setAsciiStream(long),
Clob.setCharacterStream(long),
Clob.setString(long, String),
Clob.setString(long, String, int, int),
or Clob.truncate(long).
NOTE : I do not know the correct answer currently for
databases which (1) are not part of the cruise control process
or (2) do not Dialect.supportsExpectedLobUsagePattern().
supportsLobValueChangePropogation in class DB2Dialect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||