java.sql.SQLException

Column 'emp_reason' not found.

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web9056

  • Column 'emp_reason' not found.
  • via Hibernate JIRA by Pawel Solarski, 9 months ago
    Column 'ts2_2_0_' not found.
  • Column 'id' not found.
  • Stack trace

    • java.sql.SQLException: Column 'emp_reason' not found. 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.findColumn(ResultSetImpl.java:1163) at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5729)

    Write tip

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

    Users with the same issue

    Once, 2 weeks ago
    4 times, 2 months ago
    Unknown user
    Once, 8 months ago
    4 times, 9 months ago
    Unknown user
    Once, 1 year ago
    149 more bugmates