int offset = 1;
prepStmt.setString(offset++, t.id());
prepStmt.setLong(offset++,
((Long)ctx.getPrimaryKey()).longValue());
prepStmt.setLong
(offset++, Long.parseLong(t.from().key()));
prepStmt.setLong
(offset++, Long.parseLong(t.to().key()));
prepStmt.setString(offset++, td.group());
prepStmt.setInt(offset++, td.order());
prepStmt.setInt(offset++, td.conditionType());