|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.dialect.Dialect org.hibernate.dialect.Oracle9Dialect org.hibernate.dialect.OracleDialect
public class OracleDialect
An SQL dialect for Oracle, compatible with Oracle 8.
Field Summary |
---|
Fields inherited from class org.hibernate.dialect.Dialect |
---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
Constructor Summary | |
---|---|
OracleDialect()
Deprecated. |
Method Summary | |
---|---|
CaseFragment |
createCaseFragment()
Deprecated. Create a CaseFragment strategy responsible
for handling this dialect's variations in how CASE statements are
handled. |
JoinFragment |
createOuterJoinFragment()
Deprecated. Create a JoinFragment strategy responsible
for handling this dialect's variations in how joins are handled. |
String |
getCurrentTimestampSelectString()
Deprecated. Retrieve the command used to retrieve the current timestamp from the database. |
String |
getCurrentTimestampSQLFunctionName()
Deprecated. The name of the database-specific SQL function for retrieving the current timestamp. |
String |
getLimitString(String sql,
boolean hasOffset)
Deprecated. Apply s limit clause to the query. |
String |
getSelectClauseNullString(int sqlType)
Deprecated. Given a Types type code, determine an appropriate
null value to use in a select clause. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OracleDialect()
Method Detail |
---|
public JoinFragment createOuterJoinFragment()
Dialect
JoinFragment
strategy responsible
for handling this dialect's variations in how joins are handled.
createOuterJoinFragment
in class Dialect
JoinFragment
strategy.public CaseFragment createCaseFragment()
Dialect
CaseFragment
strategy responsible
for handling this dialect's variations in how CASE statements are
handled.
createCaseFragment
in class Dialect
CaseFragment
strategy.public String getLimitString(String sql, boolean hasOffset)
Dialect
variable
limit clauses when they support limits. Thus, when building the
select command we do not actually need to know the limit or the offest
since we will just be using placeholders.
Here we do still pass along whether or not an offset was specified
so that dialects not supporting offsets can generate proper exceptions.
In general, dialects will override one or the other of this method and
Dialect.getLimitString(String, int, int)
.
getLimitString
in class Oracle9Dialect
sql
- The query to which to apply the limit.hasOffset
- Is the query requesting an offset?
public String getSelectClauseNullString(int sqlType)
Dialect
Types
type code, determine an appropriate
null value to use in a select clause.
One thing to consider here is that certain databases might
require proper casting for the nulls here since the select here
will be part of a UNION/UNION ALL.
getSelectClauseNullString
in class Dialect
sqlType
- The Types
type code.
public String getCurrentTimestampSelectString()
Dialect
getCurrentTimestampSelectString
in class Oracle9Dialect
public String getCurrentTimestampSQLFunctionName()
Dialect
getCurrentTimestampSQLFunctionName
in class Dialect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |