if (v) a = "1";
String sql = "update " + table() + " set archived="+a+" where id_f="+getId();
DBPool db = DBPool.getPool();
DBConnection c = db.getConnection();
try {
c.update(sql);
c.commit();
} catch (Exception e) {
log.error("dbread failed",e);
try { c.rollback(); } catch (Exception e2) { fail(e2);}
} finally {