摘要: JPQL如下: 项目运行时报错,提示: Executing an update/delete query; nested exception is javax.persistence.TransactionRequiredException 原因: update、delete操作涉及到事务机制,需要 阅读全文
posted @ 2017-09-27 11:45 小猴子爱吃桃 阅读(11371) 评论(1) 推荐(2) 编辑
摘要: 执行update语句,出现问题: 问题描述: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, tog 阅读全文
posted @ 2017-09-27 11:00 小猴子爱吃桃 阅读(537) 评论(0) 推荐(0) 编辑