ssh框架中出现错误HTTP Status 500 -Could not execute JDBC batch update;
CouldnotexecuteJDBCbatchupdate;nestedexceptionisorg.hibernate.exception.SQLGrammarExc...
Could not execute JDBC batch update; nested exception is org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
这是什么问题 控制台显示
Hibernate: insert into MEETING (MEETINGNAME, ROOMID, RESERVATIONISTID, NUMBEROFPARTICIPANTS, STARTTIME, ENDTIME, RESERVATIONTIME, CANCELEDTIME, DESCRIPTION, STATUS, PEOPLENAME, MEETINGID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
其他的save方法没问题,这个添加出现问题,求问怎么回事
java.sql.BatchUpdateException: ORA-01722: 无效数字 还报了这个问题 展开
这是什么问题 控制台显示
Hibernate: insert into MEETING (MEETINGNAME, ROOMID, RESERVATIONISTID, NUMBEROFPARTICIPANTS, STARTTIME, ENDTIME, RESERVATIONTIME, CANCELEDTIME, DESCRIPTION, STATUS, PEOPLENAME, MEETINGID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
其他的save方法没问题,这个添加出现问题,求问怎么回事
java.sql.BatchUpdateException: ORA-01722: 无效数字 还报了这个问题 展开
展开全部
简单的方法就是将insert into MEETING (MEETINGNAME, ROOMID, RESERVATIONISTID, NUMBEROFPARTICIPANTS, STARTTIME, ENDTIME, RESERVATIONTIME, CANCELEDTIME, DESCRIPTION, STATUS, PEOPLENAME, MEETINGID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)这一句中真实的运行时的value替换上述?,然后将这条插入语句直接运行在mysql上,看看会报什么错
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询