org.exolab.castor.jdo.drivers

Class HsqlQueryExpression

public final class HsqlQueryExpression extends JDBCQueryExpression

QueryExpression for MySQL.

Version: $Revision: 5951 $ $Date: 2005-07-05 07:25:41 -0600 (Tue, 05 Jul 2005) $

Author: Oleg Nitz

Constructor Summary
HsqlQueryExpression(PersistenceFactory factory)
Method Summary
protected StringBuffergetStandardStatement(boolean lock, boolean oj)
Helper method.
StringgetStatement(boolean lock)
booleanisLimitClauseSupported()
Provides an implementation of isLimitClauseSupported.
booleanisOffsetClauseSupported()
Provides an implementation of isOffsetClauseSupported.

Constructor Detail

HsqlQueryExpression

public HsqlQueryExpression(PersistenceFactory factory)

Method Detail

getStandardStatement

protected StringBuffer getStandardStatement(boolean lock, boolean oj)
Helper method. Can be used in two cases: 1) for JDBC drivers which support "{oj ...OUTER JOIN ...}" notation (in accordance with JDBC specification); 2) for the databases which support "... OUTER JOIN ..." notation (in accordance with SQL-92 standard); .

Parameters: lock whether to lock selected tables oj true in the first case above, false in the second case.

getStatement

public String getStatement(boolean lock)

isLimitClauseSupported

public boolean isLimitClauseSupported()
Provides an implementation of isLimitClauseSupported.

Returns: true to indicate that this feature is supported by mySQL.

See Also: isLimitClauseSupported

isOffsetClauseSupported

public boolean isOffsetClauseSupported()
Provides an implementation of isOffsetClauseSupported.

Returns: true to indicate that this feature is supported by mySQL.

See Also: isOffsetClauseSupported

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