2019年5月30日

Spring AOP应用场景之事务管理

摘要: 1、事务执行的时候是在前面开启事务,后面关闭事务,结束事务有两种方式,一种是正常的提交事务,一种是出现问题回滚事务。 spring事务默认只有在抛出unchecked Exception才会回滚 UncheckedException包括error和runtimeException派生出的所有子类 2 阅读全文

posted @ 2019-05-30 00:32 小小酥512 阅读(7381) 评论(0) 推荐(0) 编辑

Spring容器使用中出现 Access denied for user 'Administrator'@'localhost' (using password: YES)

摘要: Access denied for user 'Administrator'@'localhost' (using password: YES)一个问题找原因找了很久,终于找到了 在Spring容器中通过配置 <context:property-placeholder location="class 阅读全文

posted @ 2019-05-30 00:02 小小酥512 阅读(3261) 评论(3) 推荐(3) 编辑

导航