数据库连接池 & Mybatis-Plus使用遇到的问题 & Spring事务

 

druid数据库连接池:
  https://stackoverflow.com/questions/41566361/spring-boot-1-4-2-data-source-configuration
  https://blog.nowcoder.net/n/dc2af81950104390969ab73c3c6f3934
  https://cloud.tencent.com/developer/article/1733125
  https://xyzghio.xyz/DruidBySpringBoot/

 

Mybatis-Plus 使用updateById()、update()将字段更新为null
  https://www.bloghome.com.cn/post/mybatis-plus-shi-yong-updatebyid-update-jiang-zi-duan-geng-xin-wei-null.html

  https://www.cnblogs.com/r1-12king/p/15834915.html

  https://justsme.github.io/2021/02/14/mybatis-plus-4-mapper-crud-zhi-geng-xin/#!

使用Mybatis-plus策略自动更新数据库时间失败问题解决
  https://www.jianshu.com/p/dbd4c464cb6c

 

`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间'

  update语句,影响行数为0,不会更新修改时间

 

Spring事务

  https://z.itpub.net/article/detail/18A4D9564A61EC7AF8EAA66FCA251444

posted @   parkdifferent  阅读(295)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示