摘要: 错误 Error updating database. Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed ### The error 阅读全文
posted @ 2021-11-27 10:59 江南0o0 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 错误 Error creating bean with name 'transactionManager' defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested except 阅读全文
posted @ 2021-11-27 10:56 江南0o0 阅读(1459) 评论(0) 推荐(0) 编辑
摘要: 两种方式 声明式事物:aop 编程式事物:就是在代码中手动添加事物 声明式事物 只需要在spring-dao.xml配置即可(注意需要假如相关约束) <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframe 阅读全文
posted @ 2021-11-27 10:49 江南0o0 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 错误 Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested excepti 阅读全文
posted @ 2021-11-27 09:46 江南0o0 阅读(456) 评论(0) 推荐(0) 编辑