Examples of ZQuery


Examples of railo.runtime.sql.old.ZQuery

   * @throws PageException
   */
  public Query execute(Vector statements, PageContext pc,SQL sql, int maxrows) throws PageException {
    // parse sql
    if(statements.size()!=1) throw new DatabaseException("only one SQL Statement allowed at time",null,null,null);
    ZQuery query=(ZQuery) statements.get(0);
   
    // single table
    if(query.getFrom().size()==1) {
      return testExecute(pc,sql,getSingleTable(pc, query),query,maxrows);
     
   
    // multiple table
    throw new DatabaseException("can only work with single tables yet",null,null,null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.