Package railo.runtime.sql.old

Examples of railo.runtime.sql.old.ZqlParser


   * construct
   * @param sql SQl Statement as String
   */
  public HSQLUtil(String sql) {
    this.sql=SQLPrettyfier.prettyfie(sql,true);//sqlToZQL(sql,true);
    parser = new ZqlParser(new ByteArrayInputStream(this.sql.getBytes()));
  }
View Full Code Here


  }
 
  public Query execute(PageContext pc,SQL sql,String prettySQL, int maxrows) throws PageException {
    if(StringUtil.isEmpty(prettySQL))prettySQL=SQLPrettyfier.prettyfie(sql.getSQLString());
   
    ZqlParser parser = new ZqlParser(new ByteArrayInputStream(prettySQL.getBytes()));
    Vector statements;
    try {
        statements=parser.readStatements();
    }
    catch(Throwable t) {
        throw Caster.toPageException(t);
    }
    return execute(statements,pc, sql, maxrows);
View Full Code Here

TOP

Related Classes of railo.runtime.sql.old.ZqlParser

Copyright © 2018 www.massapicom. 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.