java.sql.SQLException: ResultSet is from UPDATE. No Data.

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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 1149#253715982
    via GitHub by lakersh3
    ,
  • GitHub comment 926#223177533
    via GitHub by 694551594
    ,
  • select into outfile not working with hibernate
    via Stack Overflow by Jeets
    ,
  • MySQL Netbeans Java ResultSet Failure
    via by Unknown author,
  • Namelayer stack trace
    via GitHub by ttk2
    ,
    • java.sql.SQLException: ResultSet is from UPDATE. No Data. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920) at com.mysql.jdbc.ResultSetImpl.next(ResultSetImpl.java:6995) at test.TestMycat.main(TestMycat.java:40)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    ivanszkypeter
    ivanszkypeter470 times, last one,
    linxiaolong
    linxiaolong1 times, last one,
    rocday
    rocday1 times, last one,
    145 more bugmates