((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());
prepStmt.setString(offset++, td.condition());
} catch (NumberFormatException re) {
throw new SQLException(re.getMessage());