Error attempting to get column ‘STAFF_NAME’ from result set

Error attempting to get column ‘xxx’ from result set.
1. Check whether the database does not have this column, but generally consider that the field name is misspelled.
2. If the database has this field and there is no spelling error, check whether the wrong type is written in dto. The last time I reported an error, I wrote a varchar type field in dto as private long XXX. Change long to string to solve the problem.


Read More: