03 2023 档案
摘要:  // package org.springframework.sche
阅读全文
摘要:<insert useGeneratedKeys="true" keyProperty="id" keyColumn="id" ></insert> # useGeneratedKeys需要数据库本身支持字段自增的 <insert id="insertUser" parameterType="com
阅读全文
摘要:mybatis 等价于[]中的< 参考博客:https://blog.csdn.net/xiaoleilei666/article/details/109695510
阅读全文
摘要:# private修饰的方式,spring无法生成动态代理 # 没有被spring管理。类不会被加载bean,自然事务失效。 # 数据库本身不支持 MySQL的 Myisam # 事务传播行为为 非事务方式 PROPAGATION_NOT_SUPPORIED # 数据源没有配置数据管理器transa
阅读全文
摘要:git rebase –-abort # 直接放弃当前操作 回到rebase前状态 git rebase --skip # 丢弃掉引起冲突的文件 git rebase --continue # 手动解决代码中的冲突 参考博客: https://blog.csdn.net/weixin_3904779
阅读全文
摘要:# 1、mybatis的缓存--减少和数据库的交互降低数据库压力 # 2、缓存机制原理 第一次sql查询的时候将结果缓存(保存内存中),下一次sql查询与第一次相同,如果缓存有数据直接从缓存取。 # 3、 ## 一级缓存 SqlSession 注:使用 SqlSession.clearCache(
阅读全文
摘要:brew install brew install xxx 安装的应用地址在 /usr/local/Cellar/xxx 下
阅读全文
摘要:问题1:idea每次打开新的窗口maven需重新设置 点击"file->new projects settings->settings for new projets"设置maven
阅读全文
摘要:步骤1: 访问react-devtools工具网址: https://gitcode.net/mirrors/facebook/react-devtools?utm_source=csdn_github_accelerator 步骤二: 克隆到本地, 打开克隆后的工具文件夹 git clone ht
阅读全文