Closed czm23333 closed 2 years ago
Ok, this isn't a bad approach. I do something similar in getSelectSql():
// unlike insert and update, this needs to be done dynamically
// and can't be precalculated because of the where and order by
StandardPojoInfo pojoInfo = getPojoInfo(rowClass);
String columns = pojoInfo.selectColumns;
String where = query.getWhere();
String table = query.getTable();
if (table == null) {
table = pojoInfo.table;
}
Merged.
Same as #74, but with minimum change.