org.hibernate.exception.GenericJDBCException: could not execute query

后端 未结 2 1417
我寻月下人不归
我寻月下人不归 2020-12-17 05:23

I am using hibernate 3.6.7 to do mapping. I set the connection part as static. I need the service program runs forever, and another service will call some methods of this se

2条回答
  •  既然无缘
    2020-12-17 05:38

    That maybe the structure of the JAVA Model is changed,but the DB table update incorrect! what make the Model and the DB table are not correspondence completely. You can do like this:

    • drop the old table
    • restart the project to rebuild the table

提交回复
热议问题