摘要: <insert useGeneratedKeys="true" keyProperty="id" keyColumn="id" ></insert> # useGeneratedKeys需要数据库本身支持字段自增的 <insert id="insertUser" parameterType="com 阅读全文
posted @ 2023-03-10 13:59 五字妹妹实在是棒 阅读(36) 评论(0) 推荐(0)
摘要: mybatis 等价于[]中的< 参考博客:https://blog.csdn.net/xiaoleilei666/article/details/109695510 阅读全文
posted @ 2023-03-10 13:58 五字妹妹实在是棒 阅读(20) 评论(0) 推荐(0)
摘要: # private修饰的方式,spring无法生成动态代理 # 没有被spring管理。类不会被加载bean,自然事务失效。 # 数据库本身不支持 MySQL的 Myisam # 事务传播行为为 非事务方式 PROPAGATION_NOT_SUPPORIED # 数据源没有配置数据管理器transa 阅读全文
posted @ 2023-03-10 13:57 五字妹妹实在是棒 阅读(30) 评论(0) 推荐(0)
摘要: git rebase –-abort # 直接放弃当前操作 回到rebase前状态 git rebase --skip # 丢弃掉引起冲突的文件 git rebase --continue # 手动解决代码中的冲突 参考博客: https://blog.csdn.net/weixin_3904779 阅读全文
posted @ 2023-03-10 13:52 五字妹妹实在是棒 阅读(2547) 评论(0) 推荐(0)
摘要: # 1、mybatis的缓存--减少和数据库的交互降低数据库压力 # 2、缓存机制原理 第一次sql查询的时候将结果缓存(保存内存中),下一次sql查询与第一次相同,如果缓存有数据直接从缓存取。 # 3、 ## 一级缓存 SqlSession 注:使用 SqlSession.clearCache( 阅读全文
posted @ 2023-03-10 13:49 五字妹妹实在是棒 阅读(62) 评论(0) 推荐(0)
摘要: brew install brew install xxx 安装的应用地址在 /usr/local/Cellar/xxx 下 阅读全文
posted @ 2023-03-02 19:46 五字妹妹实在是棒 阅读(41) 评论(0) 推荐(0)
摘要: 问题1:idea每次打开新的窗口maven需重新设置 点击"file->new projects settings->settings for new projets"设置maven 阅读全文
posted @ 2023-03-02 15:25 五字妹妹实在是棒 阅读(30) 评论(0) 推荐(0)
摘要: 步骤1: 访问react-devtools工具网址: https://gitcode.net/mirrors/facebook/react-devtools?utm_source=csdn_github_accelerator 步骤二: 克隆到本地, 打开克隆后的工具文件夹 git clone ht 阅读全文
posted @ 2023-03-02 14:25 五字妹妹实在是棒 阅读(117) 评论(0) 推荐(0)
摘要: mybatis 3 增加注解@SelectProvider mybatis 3中增加了使用注解来配置Mapper的新特性,其中@Provider的使用方式较为复杂。@provide主要分为四种: @InsertProvider @DeleteProvider @UpdateProvider // @ 阅读全文
posted @ 2023-02-20 21:37 五字妹妹实在是棒 阅读(1390) 评论(0) 推荐(0)
摘要: vue教程 环境搭建 nodejs下载 nodejs官网 已经"下一步式安装"过, 本地电脑历史版本 Mac更新到官网最新版本 # 1.先查看本机node.js版本: node -v # 2.清除node.js的cache: npm cache clean -f # 3.安装 n 工具,这个工具是专 阅读全文
posted @ 2022-11-19 20:55 五字妹妹实在是棒 阅读(155) 评论(0) 推荐(0)
返回顶部