Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.jdo.drivers.JDBCQueryExpression
org.exolab.castor.jdo.drivers.OracleQueryExpression
public final class OracleQueryExpression
extends JDBCQueryExpression
Nested Class Summary |
Nested classes/interfaces inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression | |
JDBCQueryExpression.Join |
Field Summary |
Fields inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression | |
_dbInfo , _distinct , _factory , _joins , _limit , _offset , _order , _select , _tables |
Fields inherited from interface org.exolab.castor.persist.spi.QueryExpression | |
OP_BETWEEN , OP_BETWEEN_AND , OP_EQUALS , OP_GREATER , OP_GREATER_EQUALS , OP_LESS , OP_LESS_EQUALS , OP_LIKE , OP_NOT_EQUALS , OP_NOT_LIKE |
Constructor Summary | |
|
Method Summary | |
String |
|
boolean |
|
boolean |
|
Methods inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression | |
addColumn , addCondition , addInnerJoin , addInnerJoin , addInnerJoin , addInnerJoin , addLimitClause , addOffsetClause , addOrderClause , addOuterJoin , addOuterJoin , addOuterJoin , addOuterJoin , addParameter , addSelect , addTable , addTable , addWhereClause , addWhereClause , clone , encodeColumn , getColumnList , getStandardStatement , getStatement , isLimitClauseSupported , isOffsetClauseSupported , setDbMetaInfo , setDistinct , toString |
public String getStatement(boolean lock) throws SyntaxNotSupportedException
Creates a SQL statement. In general, for a RDBMS/JDBC driver with a full support of the SQL standard/JDBC specification, this will return a valid SQL statement. For some features, a particular RDBMS might indicate that it does not support this feature by throwing aSyntaxNotSupportedException
.
- Specified by:
- getStatement in interface QueryExpression
- Overrides:
- getStatement in interface JDBCQueryExpression
- Throws:
SyntaxNotSupportedException
- If the RDBMS does not support a particular feature.
public boolean isLimitClauseSupported()
Indicates that Oracle supports an OQL LIMIT clause for versions >= 8.1.6.
- Specified by:
- isLimitClauseSupported in interface QueryExpression
- Overrides:
- isLimitClauseSupported in interface JDBCQueryExpression
- Returns:
- true to indicate that Oracle supports an OQL LIMIT clause.
public boolean isOffsetClauseSupported()
Indicates that Oracle supports an OQL OFFSET clause for versions >= 8.1.6.
- Specified by:
- isOffsetClauseSupported in interface QueryExpression
- Overrides:
- isOffsetClauseSupported in interface JDBCQueryExpression
- Returns:
- true to indicate that Oracle supports an OQL OFFSET clause.