org.exolab.castor.jdo.drivers
Class HsqlQueryExpression
- QueryExpression
public final class HsqlQueryExpression
QueryExpression for MySQL.
$Revision: 7116 $ $Date: 2005-07-05 07:25:41 -0600 (Tue, 05 Jul 2005) $
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 |
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); .
- getStandardStatement in interface JDBCQueryExpression
lock
- whether to lock selected tablesoj
- true in the first case above, false in the second case.
getStatement
public String getStatement(boolean lock)
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 a
SyntaxNotSupportedException
.
- getStatement in interface QueryExpression
- getStatement in interface JDBCQueryExpression
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com