Class<?> clazz = key.getClass();
if (entity != clazz) {
// logWarning("Your data is wrong!");
logWarning("数据不匹配!");
}
TableDescriptor table = dbEngine.getTableDescriptor(entity);
sql.append("SELECT * FROM ").append(table.name).append(" WHERE ");
for (int i = 0; i < table.primaryKeys.length; i++) {
if (i != table.primaryKeys.length - 1) {
sql.append(table.primaryKeys[i]).append(" = ? AND ");
} else