我想创建用于删除行的SQL查询。ids);} 但我得到了异常:ption [Request processing failed; nested exception is java.lang.IllegalArgumentException: Update/delete queries cannot be typed] with root cause java.lang.IllegalArgumentException: Update/del
result = query.executeUpdate();Update/delete queries cannot be typed; nested exception is java.lang.IllegalArgumentExceptionAsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1103)Caused by: java.lang.Ille
最近几天我一直在尝试用spring和hibernate做一些应用程序,我可以纠正所有的错误,但是这个我无法理解.creating bean with name 'notebookRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentExceptioncreating bean with name 'notebookRepository': Invocation of init method
子表的创建命令声明:如果我通过手动键入sql命令删除实体,级联可以正常工作。JPA触发子表的更新查询:
update checklist_template_entry set job_template_id=null where job_template_id=?mySQL不接受这个查询,因为job_template_id有一个NULL规则(原因很充