Class DerbyQueryExpression

java.lang.Object
org.castor.cpa.persistence.sql.driver.JDBCQueryExpression
org.castor.cpa.persistence.sql.driver.DerbyQueryExpression
All Implemented Interfaces:
QueryExpression

public final class DerbyQueryExpression extends JDBCQueryExpression
QueryExpression for DB2.
Version:
$Revision: 7585 $ $Date$
Author:
Assaf Arkin
  • Constructor Details

  • Method Details

    • getStatement

      public String getStatement(boolean lock)
      Description copied from class: JDBCQueryExpression
      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.
      Specified by:
      getStatement in interface QueryExpression
      Overrides:
      getStatement in class JDBCQueryExpression
      Parameters:
      lock - True if a write lock is required
      Returns:
      The SQL statement