org.exolab.castor.jdo.drivers

Class MySQLQueryExpression

Implemented Interfaces:
QueryExpression

public final class MySQLQueryExpression
extends JDBCQueryExpression

QueryExpression for MySQL.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:14 $
Author:
Oleg Nitz

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

_cols, _conds, _distinct, _factory, _joins, _limit, _order, _select, _tables, _where

Fields inherited from interface org.exolab.castor.persist.spi.QueryExpression

OpBetween, OpBetweenAnd, OpEquals, OpGreater, OpGreaterEquals, OpLess, OpLessEquals, OpLike, OpNotEquals, OpNotLike

Constructor Summary

MySQLQueryExpression(PersistenceFactory factory)

Method Summary

String
getStatement(boolean lock)
This should work for JDBC drivers with a full support of JDBC specification.

Methods inherited from class org.exolab.castor.jdo.drivers.JDBCQueryExpression

addColumn, addCondition, addInnerJoin, addInnerJoin, addInnerJoin, addInnerJoin, addLimitClause, addOrderClause, addOuterJoin, addOuterJoin, addOuterJoin, addOuterJoin, addParameter, addSelect, addTable, addTable, addWhereClause, addWhereClause, clone, encodeColumn, getColumnList, getStandardStatement, getStatement, setDistinct, toString

Constructor Details

MySQLQueryExpression

public MySQLQueryExpression(PersistenceFactory factory)

Method Details

getStatement

public String getStatement(boolean lock)
This should work for JDBC drivers with a full support of JDBC specification.
Specified by:
getStatement in interface QueryExpression
Overrides:
getStatement in interface JDBCQueryExpression

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