java.sql.SQLException

tip

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 182#122852154
    via GitHub by rasalbatros
    ,
    • java.sql.SQLException: Before start of result set at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:963) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860) at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:790) at com.mysql.jdbc.UpdatableResultSet.checkRowPos(UpdatableResultSet.java:214) at com.mysql.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:4432) at Main.main(Main.java:38)

    Users with the same issue

    mortalman7
    1 times, last one,
    linxiaolong
    1 times, last one,
    Unknown visitor1 times, last one,
    ivanszkypeter
    470 times, last one,
    rocday
    1 times, last one,
    145 more bugmates