|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.dialect.Dialect net.sf.hibernate.dialect.SAPDBDialect
An SQL dialect compatible with SAP DB.
Field Summary |
Fields inherited from class net.sf.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 |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey)
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 |
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 |
getSequenceNextValString(String sequenceName)
The syntax that fetches the next value of a sequence, if sequences are supported. |
boolean |
supportsForUpdate()
Does this dialect support the FOR UPDATE syntax? |
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 SAPDBDialect()
Method Detail |
public boolean supportsForUpdate()
Dialect
supportsForUpdate
in class Dialect
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)
Dialect
getAddForeignKeyConstraintString
in class Dialect
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 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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |