会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
八英里
公众号:十进制
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
32
33
34
···
70
下一页
2022年2月9日
BeyondCompare4完美“破解“
摘要: 将以下操作保存为bat文件(新建txt,然后将后缀改为bat),然后双击运行即可。 reg delete “HKEY_CURRENT_USER\Software\Scooter Software\Beyond Compare 4” /v CacheID /f这个操作是删除BeyondCompare4
阅读全文
posted @ 2022-02-09 14:29 八英里
阅读(1187)
评论(0)
推荐(0)
2022年2月8日
AbstractPlatformTransactionManager
摘要: /* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi
阅读全文
posted @ 2022-02-08 17:25 八英里
阅读(116)
评论(0)
推荐(0)
spring 事务相关
摘要: https://www.jianshu.com/p/2f79ee33c8ad https://www.freesion.com/article/24951147266/ https://segmentfault.com/a/1190000013341344 https://blog.csdn.net
阅读全文
posted @ 2022-02-08 16:34 八英里
阅读(54)
评论(0)
推荐(0)
Spring : REQUIRED和NESTED的区别
摘要: REQUIRED : 如果存在事务,就在当前事务里运行,否则的话就创建一个新的事务 (默认) NESTED:如果当前事务存在,则在嵌套事务中执行 看起来两个似乎作用是相同的,但是REQUIRED会跟着父任务一同提交,一同失败 。 而NESTED是 如果当前事务出现异常,本身进行回滚操作,但是父任务不
阅读全文
posted @ 2022-02-08 15:51 八英里
阅读(422)
评论(0)
推荐(0)
MyBatis Plus 添加多租户功能后 对某个Mapper方法 忽略多租户处理 使用注解 @InterceptorIgnore(tenantLine = "true")
摘要: MyBatis Plus 添加多租户功能后 对某个Mapper方法 忽略多租户处理: 使用注解 @InterceptorIgnore(tenantLine = "true")
阅读全文
posted @ 2022-02-08 14:24 八英里
阅读(4120)
评论(1)
推荐(0)
2022年2月4日
java bean 和spring bean
摘要: 1、所有属性为private 2、提供默认构造方法 3、提供getter和setter 4、实现serializable接口 凡事被spring 创建的对象才能成为spring 的bean
阅读全文
posted @ 2022-02-04 18:54 八英里
阅读(88)
评论(0)
推荐(0)
2022年1月25日
循环遍历Map的4中方法
摘要: public static void main(String[] args) { // 循环遍历Map的4中方法 Map<Integer, Integer> map = new HashMap<Integer, Integer>(); map.put(1, 2); // 1. entrySet遍历,
阅读全文
posted @ 2022-01-25 14:53 八英里
阅读(172)
评论(0)
推荐(0)
2022年1月24日
Spring中如Service有多个实现类,它怎么知道该注入哪个ServiceImpl类
摘要: 方法一: Controller中注入service的时候使用@Autowired自动注入,@Qualifier("beanId")来指定注入哪一个。 方法二: Controller中注入service的时候使用@Resource(type = 类名.class)来指定注入哪一个。 方法三: 每个se
阅读全文
posted @ 2022-01-24 09:58 八英里
阅读(316)
评论(0)
推荐(0)
2022年1月17日
Spring注解执行的默认顺序
摘要: 对于同一个方法,上面加了n个注解,如下所示。 @AnnotationOne @AnnotationTwo public void test() { ……………………………… } 如果,不加order来强制表示顺序的话,这2个注解执行的默认顺序是什么样子的呢? 经查阅Spring官方文档https:/
阅读全文
posted @ 2022-01-17 13:59 八英里
阅读(817)
评论(0)
推荐(0)
aop 执行顺序
摘要: 众所周知,spring声明式事务是基于AOP实现的,那么,如果我们在同一个方法自定义多个AOP,我们如何指定他们的执行顺序呢?网上很多答案都是指定order,order越小越是最先执行,这种也不能算是错,但有些片面。 配置AOP执行顺序的三种方式: 通过实现org.springframework.c
阅读全文
posted @ 2022-01-17 13:51 八英里
阅读(486)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
32
33
34
···
70
下一页
公告