wubin19881121

导航

2022年3月11日 #

在项目中发现一个问题,mybatis在调用存储过程的时候,存储过程又返回值得参数,如果参数都不传会出错,如果有多个只传一个不会出错,然后去看了下源码发现了问题

摘要: 在DefaultResultHandler里面发现了问题 如果传参是多个参数的话 MetaObject 里面有个字段是是一个ObjectWrapper 类型,真实类型是MapWrapper,如果参数是空的对应的是BeanWrapper, 对应的MetaObject没有参数的话得到了Null,然后在下 阅读全文

posted @ 2022-03-11 17:13 wubin19881121 阅读(108) 评论(0) 推荐(1) 编辑

2020年12月14日 #

ioc容器初始化过程

摘要: 阅读全文

posted @ 2020-12-14 17:10 wubin19881121 阅读(57) 评论(0) 推荐(1) 编辑

2020年12月12日 #

Spring bean生命周期

摘要: 阅读全文

posted @ 2020-12-12 15:55 wubin19881121 阅读(37) 评论(1) 推荐(1) 编辑

Myabtis框架

摘要: 阅读全文

posted @ 2020-12-12 15:47 wubin19881121 阅读(57) 评论(0) 推荐(1) 编辑

Spring security鉴权

摘要: 阅读全文

posted @ 2020-12-12 15:45 wubin19881121 阅读(63) 评论(0) 推荐(1) 编辑

getBean 方法加载过程示意图整理

摘要: 阅读全文

posted @ 2020-12-12 15:43 wubin19881121 阅读(59) 评论(0) 推荐(0) 编辑

SpringBoot自动装配整理

摘要: 阅读全文

posted @ 2020-12-12 15:40 wubin19881121 阅读(37) 评论(0) 推荐(1) 编辑

AopBean代理类创建过程示意图整理

摘要: 阅读全文

posted @ 2020-12-12 15:38 wubin19881121 阅读(49) 评论(0) 推荐(1) 编辑

2020年3月11日 #

PropertyDescriptor和BeanUtils使用去获得类的get 和 setter访问器

摘要: PropertyDescriptor类 的构造器描述为 PropertyDescriptor pd=new PropertyDescriptor(String propertyName, Class<?> beanClass) 第一个参数是字段名字,第二个参数是类型名称 Method methodG 阅读全文

posted @ 2020-03-11 17:33 wubin19881121 阅读(1064) 评论(0) 推荐(2) 编辑

2017年5月10日 #

神奇的 Object.defineProperty

摘要: 解析 神奇的 Object.defineProperty 时间 2016-01-21 21:14:40 SegmentFault 原文 http://segmentfault.com/a/1190000004346467 主题 JavaScript 时间 2016-01-21 21:14:40 Se 阅读全文

posted @ 2017-05-10 14:29 wubin19881121 阅读(127) 评论(0) 推荐(0) 编辑