|
|||||||||||
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.Oracle9Dialect
An SQL dialect for Oracle 9 (uses ANSI-style syntax where possible).
Field Summary |
Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
Constructor Summary | |
Oracle9Dialect()
|
Method Summary | |
boolean |
bindLimitParametersInReverseOrder()
Does the LIMIT clause specify arguments in the "reverse" order limit, offset instead of offset, limit? |
boolean |
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? |
boolean |
dropTemporaryTableAfterUse()
|
boolean |
forUpdateOfColumns()
Does the FOR UPDATE OF syntax specify particular columns? |
String |
generateTemporaryTableName(String baseTableName)
|
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getCascadeConstraintsString()
Completely optional cascading drop clause |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence, if sequences are supported. |
String |
getCreateTemporaryTablePostfix()
|
String |
getCreateTemporaryTableString()
|
String |
getCurrentTimestampSelectString()
|
String |
getDropSequenceString(String sequenceName)
The syntax used to drop a sequence, if sequences are supported. |
String |
getForUpdateNowaitString()
Does this dialect support the Oracle-style FOR UPDATE NOWAIT syntax? |
String |
getForUpdateNowaitString(String aliases)
Does this dialect support the Oracle-style FOR UPDATE OF ... |
String |
getForUpdateString(String aliases)
Does this dialect support the FOR UPDATE OF syntax? |
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
String |
getQuerySequencesString()
A query used to find all sequences |
ResultSet |
getResultSet(CallableStatement ps)
|
String |
getSelectGUIDString()
|
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. |
ViolatedConstraintNameExtracter |
getViolatedConstraintNameExtracter()
|
boolean |
isCurrentTimestampSelectStringCallable()
|
int |
registerResultSetOutParameter(CallableStatement statement,
int col)
|
boolean |
supportsCommentOn()
|
boolean |
supportsCurrentTimestampSelection()
|
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsSequences()
Does this dialect support sequences? |
boolean |
supportsTemporaryTables()
|
boolean |
supportsUnionAll()
|
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 Oracle9Dialect()
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 getCascadeConstraintsString()
Dialect
getCascadeConstraintsString
in class Dialect
public boolean dropConstraints()
Dialect
dropConstraints
in class Dialect
public String getForUpdateNowaitString()
Dialect
getForUpdateNowaitString
in class Dialect
public boolean supportsSequences()
Dialect
supportsSequences
in class Dialect
public boolean supportsLimit()
Dialect
supportsLimit
in class Dialect
public String getLimitString(String sql, boolean hasOffset)
Dialect
getLimitString
in class Dialect
public String getForUpdateString(String aliases)
Dialect
getForUpdateString
in class Dialect
public String getForUpdateNowaitString(String aliases)
Dialect
getForUpdateNowaitString
in class Dialect
public boolean bindLimitParametersInReverseOrder()
Dialect
bindLimitParametersInReverseOrder
in class Dialect
public boolean useMaxForLimit()
Dialect
useMaxForLimit
in class Dialect
public boolean forUpdateOfColumns()
Dialect
forUpdateOfColumns
in class Dialect
public String getQuerySequencesString()
Dialect
getQuerySequencesString
in class Dialect
SchemaUpdate
public String getSelectGUIDString()
getSelectGUIDString
in class Dialect
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter()
getViolatedConstraintNameExtracter
in class Dialect
public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException
registerResultSetOutParameter
in class Dialect
SQLException
public ResultSet getResultSet(CallableStatement ps) throws SQLException
getResultSet
in class Dialect
SQLException
public boolean supportsUnionAll()
supportsUnionAll
in class Dialect
public boolean supportsCommentOn()
supportsCommentOn
in class Dialect
public boolean supportsTemporaryTables()
supportsTemporaryTables
in class Dialect
public String generateTemporaryTableName(String baseTableName)
generateTemporaryTableName
in class Dialect
public String getCreateTemporaryTableString()
getCreateTemporaryTableString
in class Dialect
public String getCreateTemporaryTablePostfix()
getCreateTemporaryTablePostfix
in class Dialect
public boolean dropTemporaryTableAfterUse()
dropTemporaryTableAfterUse
in class Dialect
public boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection
in class Dialect
public String getCurrentTimestampSelectString()
getCurrentTimestampSelectString
in class Dialect
public boolean isCurrentTimestampSelectStringCallable()
isCurrentTimestampSelectStringCallable
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |