上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: 不错的文章链接: https://baijiahao.baidu.com/s?id=1686162143536500086&wfr=spider&for=pc 阅读全文
posted @ 2022-05-12 20:47 DiligentCoder 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 前言最近在看spring事务源码,时不时回想起前几年面试YY的场景,面试官拿出下面的一道面试题问我,updateStatus方法会不会生成事务。我心想,这么简单的问题还要问我,这是瞧不起我的水平吗?但是我仔细看了看,想了想,这道题还真不容易回答,如果以前没有特别注意或者研究过,很容易掉坑里。还好我当 阅读全文
posted @ 2022-05-12 20:19 DiligentCoder 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Git撤销commit 已经commit但未push 回退本地提交代码 格式 git reset --soft|--mixed|--hard <commit_id> 说明 --mixed(默认) 不删除工作空间的改动代码,撤销commit,撤销git add file. --soft(常用) 不删除 阅读全文
posted @ 2022-04-11 21:43 DiligentCoder 阅读(2404) 评论(0) 推荐(1) 编辑
摘要: 有面试官会问:你重写过 hashcode和equals 么,为什么重写equals时必须重写hashCode方法? equals和hashCode都是Object对象中的非final方法,它们设计的目的就是被用来覆盖(override)的,所以在程序设计中还是经常需要处理这两个方法.下面我们一起来看 阅读全文
posted @ 2022-04-11 21:42 DiligentCoder 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 此处记录一下,项目使用中遇到过这个问题,百度长篇大论没一句有用的。 问题阐述 通过实现【WebMvcConfigurer】类后,addInterceptors方法就不执行,导致拦截器不生效。 原因 原因其实很简单,因为代码中有【WebMvcConfigurationSupport】的继承类,Spri 阅读全文
posted @ 2022-03-10 18:29 DiligentCoder 阅读(2121) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/149287061 阅读全文
posted @ 2021-09-13 23:24 DiligentCoder 阅读(63) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_30733003/article/details/98574063 阅读全文
posted @ 2021-07-31 15:51 DiligentCoder 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 暂且这样记吧... java 对象数组以及非静态成员变量存在于堆中 java 类中的方法以及静态成员变量存在于方法区中 java 引用以及局部变量表在栈中 https://www.cnblogs.com/zhuxiaopijingjing/p/12272137.html 阅读全文
posted @ 2021-07-18 21:50 DiligentCoder 阅读(96) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1504668/202107/1504668-20210717204410519-2040730187.png) 阅读全文
posted @ 2021-07-17 20:45 DiligentCoder 阅读(67) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/coding-one/p/12401630.html 阅读全文
posted @ 2021-07-16 23:53 DiligentCoder 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页