java.sql.SQLSyntaxErrorException: Unknown column 'orderDate' in 'field list'

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.sql.SQLSyntaxErrorException: Unknown column in 'field list'

    Stack Overflow | 6 months ago | Hadrian Blackwater
    java.sql.SQLSyntaxErrorException: Unknown column 'orderDate' in 'field list'
  2. 0

    Schema Exception Hibernate One to Many

    Stack Overflow | 6 months ago | Hadrian Blackwater
    org.hibernate.exception.SQLGrammarException: could not execute statement
  3. 0

    Hibernate does not create a tables using persistence.xml

    Stack Overflow | 3 months ago | user4881671
    java.sql.SQLSyntaxErrorException: Table 'hello.user' doesn't exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. hoangtranwork 80 times, last 9 months ago
1 unregistered visitors

Root Cause Analysis

  1. java.sql.SQLSyntaxErrorException

    Unknown column 'orderDate' in 'field list'

    at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException()
  2. com.mysql.cj
    PreparedStatement.executeUpdate
    1. com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:686)
    2. com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:663)
    3. com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:653)
    4. com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:115)
    5. com.mysql.cj.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2041)
    6. com.mysql.cj.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1827)
    7. com.mysql.cj.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2041)
    8. com.mysql.cj.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:1977)
    9. com.mysql.cj.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:4963)
    10. com.mysql.cj.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1962)
    10 frames
  3. Hibernate
    ResultSetReturnImpl.executeUpdate
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)
    1 frame