|
|||||||||||
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.SAPDBDialect
An SQL dialect compatible with SAP DB.
Field Summary |
Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
SAPDBDialect()
|
Method Summary | |
CaseFragment |
createCaseFragment()
Create a CaseFragment for this dialect. |
JoinFragment |
createOuterJoinFragment()
Create an OuterJoinGenerator for this dialect. |
boolean |
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? |
String |
generateTemporaryTableName(String baseTableName)
|
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey,
boolean referencesPrimaryKey)
The syntax used to add a foreign key constraint to a table. |
String |
getAddPrimaryKeyConstraintString(String constraintName)
The syntax used to add a primary key constraint to a table. |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence, if sequences are supported. |
String |
getCreateTemporaryTablePostfix()
|
String |
getDropSequenceString(String sequenceName)
The syntax used to drop a sequence, if sequences are supported. |
String |
getNullColumnString()
The keyword used to specify a nullable column. |
String |
getQuerySequencesString()
A query used to find all sequences |
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? |
boolean |
supportsTemporaryTables()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SAPDBDialect()
Method Detail |
public boolean dropConstraints()
Dialect
dropConstraints
in class Dialect
public String getAddColumnString()
Dialect
getAddColumnString
in class Dialect
public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey)
Dialect
getAddForeignKeyConstraintString
in class Dialect
referencesPrimaryKey
- if false, constraint should be
explicit about which column names the constraint refers to
public String getAddPrimaryKeyConstraintString(String constraintName)
Dialect
getAddPrimaryKeyConstraintString
in class Dialect
public String getNullColumnString()
Dialect
getNullColumnString
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 getQuerySequencesString()
Dialect
getQuerySequencesString
in class Dialect
SchemaUpdate
public JoinFragment createOuterJoinFragment()
Dialect
createOuterJoinFragment
in class Dialect
public boolean supportsSequences()
Dialect
supportsSequences
in class Dialect
public CaseFragment createCaseFragment()
Dialect
createCaseFragment
in class Dialect
public boolean supportsTemporaryTables()
supportsTemporaryTables
in class Dialect
public String getCreateTemporaryTablePostfix()
getCreateTemporaryTablePostfix
in class Dialect
public String generateTemporaryTableName(String baseTableName)
generateTemporaryTableName
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |