214215216217218219220221222223224
try { table.insert("Smith", "John", 0); calendar.setTime(new Date(System.currentTimeMillis())); updateCursor = table.open(); do { updateCursor.update(updateCursor.getValue(SECOND_NAME_FIELD), updateCursor.getValue(FIRST_NAME_FIELD), calendar.getTimeInMillis()); } while(updateCursor.next()); } finally { updateCursor.close(); db.commit(); }
5253545556575859606162
// it Object[] key = new Object[] { x, y, zoom, 0 }; ISqlJetCursor updateCursor = table.lookup("IND", key); do { updateCursor.update(x, y, zoom, 0, blob); } while (updateCursor.next()); updateCursor.close(); } else throw e;