Package com.lingbobu.flashdb.jdbc.JdbcResultSet

Examples of com.lingbobu.flashdb.jdbc.JdbcResultSet.ResultSetNextPart


  Object execute(String sql, Object[] params, int maxRows) {
    Object ret = flashDatabase.execute(sql, params, maxRows);
   
    if ((ret != null) && (ret instanceof QueryResultSet)) {
      QueryResultSet qrs = (QueryResultSet) ret;
      ResultSetNextPart rsContinue = null;
      if ((maxRows < 0) && qrs.isResultHasContinueData()) {
        rsContinue = new ResultSetNextPart(flashDatabase, sql, params, -maxRows);
      }
      return new JdbcResultSet((QueryResultSet)ret, rsContinue);
    }
    return ret;
  }
View Full Code Here

TOP

Related Classes of com.lingbobu.flashdb.jdbc.JdbcResultSet.ResultSetNextPart

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.