public SentenceList getListSentence(Session s, Table t) {
return getListSentence(s, t.getListSQL(), null);
}
public SentenceExec getInsertSentence(Session s, final Table t) {
return new PreparedSentence(s, t.getInsertSQL(),
new SerializerWrite<Object[]>() {
public void writeValues(DataWrite dp, Object[] obj) throws BasicException {
for (int i = 0; i < t.getColumns().length; i++) {
fields[i].getData().setValue(dp, i + 1, obj[i]);
}