Closed StruckCroissant closed 2 years ago
When attempting to get user information for a user that doesn't exist, the query fails with the message: java.sql.SQLDataException: Current position is after the last row
java.sql.SQLDataException: Current position is after the last row
Commit 01ffcbdc691ef599ae896a20768bd4eb4e2fa18e fixes this issue.
Added checks via resultSet.next() to confirm that there are rows to retrieve. Returns null if not.
resultSet.next()
null
When attempting to get user information for a user that doesn't exist, the query fails with the message:
java.sql.SQLDataException: Current position is after the last row