Package de.mhus.lib.sql

Examples of de.mhus.lib.sql.MutableResult


      DbConnection con = ((DbCaoConnection)getConnection()).getPool().getConnection();
      DbStatement sth = con.createStatement(queryString);
      if (sth.execute(  ((DbApplication)getApplication()).getMapping() )) {
        res = sth.getResultSet();
      } else {
        res = new MutableResult();
        ((MutableResult)res).addColumnName("count");
        HashMap<String, Object> row = new HashMap<String, Object>();
        row.put("count", sth.getUpdateCount());
        ((MutableResult)res).add(row);
        ((MutableResult)res).reset();
View Full Code Here

TOP

Related Classes of de.mhus.lib.sql.MutableResult

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.