Mybatis-Plus源码-自增主键填充到实体
#mybatis-3.5.10 + mybatisPlus-3.5.2 #mybatis-plus自增id策略下何时填充id到实体 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl#saveOrUpdate com.baomidou.mybatisplus.extension.service.IService#save com.baomidou.mybatisplus.core.override.MybatisMapperProxy#invoke com.baomidou.mybatisplus.core.override.MybatisMapperProxy.PlainMethodInvoker#invoke com.baomidou.mybatisplus.core.override.MybatisMapperMethod#execute org.mybatis.spring.SqlSessionTemplate#insert(java.lang.String, java.lang.Object) org.apache.ibatis.executor.CachingExecutor#update org.apache.ibatis.executor.SimpleExecutor#doUpdate org.apache.ibatis.session.Configuration#newStatementHandler com.baomidou.mybatisplus.core.MybatisParameterHandler#process #填充主键id-非自增 com.baomidou.mybatisplus.core.MybatisParameterHandler#populateKeys org.apache.ibatis.session.Configuration#newResultSetHandler org.apache.ibatis.executor.SimpleExecutor#prepareStatement #获取连接 com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor#intercept #执行拦截器 org.apache.ibatis.executor.statement.BaseStatementHandler#prepare org.apache.ibatis.executor.statement.PreparedStatementHandler#instantiateStatement #打印sql语句 org.apache.ibatis.executor.statement.PreparedStatementHandler#update com.zaxxer.hikari.pool.ProxyPreparedStatement#execute org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator#processBatch org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator#assignKeys org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator.KeyAssigner#assign #填充主键id-自增
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· Trae初体验
2021-08-02 增强mybatis-plus的typeHandler,可以支持List<T> 中嵌套对象
2019-08-02 Hibernate映射之数组属性, 集合属性(list、set和map)
2019-08-02 Hibernate---实体类注释简介
2019-08-02 org.hibernate.type.SerializationException: could not deserialize 反序列化失败
2019-08-02 多对一和一对多