org.exolab.castor.jdo.drivers
public final class HsqlQueryExpression extends JDBCQueryExpression
This implementation was created mainly to allow the use of multiple outer joins during HSQL query expression creation. The syntax provided by the generic driver does not work with HSQL so this class was needed.
Nested Class Summary | |
---|---|
class | HsqlQueryExpression.HsqlAliasInfo
This class encapsulates the information of the aliases related to sql
outer joins. |
Constructor Summary | |
---|---|
HsqlQueryExpression(PersistenceFactory factory)
Public constructor |
Method Summary | |
---|---|
void | addColumn(String tableName, String columnName)
Redefinition of JDBCQueryExpression.addColumn() method. |
void | addCondition(String tableName, String columnName, String condOp, String value)
Redefinition of JDBCQueryExpression.addCondition() method. |
protected boolean | addWhereClause(StringBuffer buffer, HsqlQueryExpression.HsqlAliasInfo aliasInfo, boolean first)
This method adds the where clause taking into account possible aliases
for columns |
String | getStatement(boolean lock) |
Parameters: buffer The buffer being appended aliasInfo The information of the aliases to be substituted for some tables