Example #1
0
 public QuerySet insert(String tableName, Hmap bean) throws SQLException {
   hasRan();
   insert(tableName);
   updatedTables.add(tableName);
   for (String key : bean.keySet()) {
     set(key, bean.get(key));
   }
   return this;
 }
Example #2
0
 public QuerySet update(String tableName, Hmap data) throws SQLException {
   hasRan();
   update(tableName);
   updatedTables.add(tableName);
   for (String k : data.keySet()) {
     set(k, data.get(k));
   }
   return this;
 }