ResultSet#next() returns true no matter what using MySQL database

Hello, I am having a very strange issue using a MySQL database. I am trying to check if a row exists, by using However, even if the row doesn’t exist, the method returns true. I have verified that this is only a MySQL issue, it worked perfectly using an H2 database. What would be the problem?

Seems a bit odd.
Could be a bug in the particular database driver you’re using. Doubt it’s got anything to do with sponge so you could perhaps search online to see if there are any solutions.