Improved error message.
This commit is contained in:
@@ -614,7 +614,8 @@ public class DepotMarshaller<T extends PersistentRecord>
|
|||||||
if (fm.getComputed() != null && !fm.getComputed().required()) {
|
if (fm.getComputed() != null && !fm.getComputed().required()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
throw new SQLException("ResultSet missing field: " + fm.getField().getName());
|
throw new SQLException(
|
||||||
|
"ResultSet missing field: " + fm.getField().getName() + " for " + _pClass);
|
||||||
}
|
}
|
||||||
fm.getAndWriteToObject(rs, po);
|
fm.getAndWriteToObject(rs, po);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user