Skip to content

Commit 572c53d

Browse files
Remove assert
1 parent 0679607 commit 572c53d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

framework/db/src/main/java/com/cloud/utils/db/GenericDaoBase.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,6 @@ protected void setField(final Object entity, final ResultSet rs, ResultSetMetaDa
20582058
attr = _allColumns.get(new Pair<>(tbl.name(), meta.getColumnLabel(index)));
20592059
}
20602060
}
2061-
assert (attr != null) : "How come I can't find " + tableName + "." + columnName;
20622061
if(attr == null) {
20632062
logger.warn(String.format("Failed to find attribute in the entity %s to map column %s.%s (%s)",
20642063
ClassUtils.getUserClass(entity).getSimpleName(), tableName, columnName));

0 commit comments

Comments
 (0)