org.exolab.castor.jdo.drivers

Class DB2QueryExpression

Implemented Interfaces:
QueryExpression

public final class DB2QueryExpression
extends JDBCQueryExpression

QueryExpression for DB2.
Version:
$Revision: 7093 $ $Date: 2004-09-08 03:37:54 -0600 (Wed, 08 Sep 2004) $
Author:
Assaf Arkin

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

DB2QueryExpression(PersistenceFactory factory)

Method Summary

String
getStatement(boolean lock)
Creates a SQL statement.
boolean
isLimitClauseSupported()
Provides a default implementation of QueryExpression.isLimitClauseSupported().

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

Constructor Details

DB2QueryExpression

public DB2QueryExpression(PersistenceFactory factory)

Method Details

getStatement

public String getStatement(boolean lock)
Specified by:
getStatement in interface QueryExpression
Overrides:
getStatement in interface JDBCQueryExpression

isLimitClauseSupported

public boolean isLimitClauseSupported()
Specified by:
isLimitClauseSupported in interface QueryExpression
Overrides:
isLimitClauseSupported in interface JDBCQueryExpression
Returns:
false to indicate that this feature is not supported by default.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com