244 Star 2.7K Fork 565

MyBatis-Flex/MyBatis-Flex

[Bug]: UpdateEntity 没有对 @Column(ignore = true) 的字段进行过滤

已完成
创建于  
2023-08-08 12:26

评论 (2)

aqnghu 创建了任务 2年前
aqnghu 添加了
 
bug
标签
2年前
Michael Yang 里程碑设置为v1.5.9 2年前
展开全部操作日志

细说

61279 fuhai 1716893681 Michael Yang 拥有者
回复 王帅 成员
2年前

是不是说 entity 定义了一个属性比如 userName,但是这个属性在数据库时不存在的,已经通过 @Column(ignore = true) 标识。

但是,在更新数据的时候,用户设置了 userName 的值,导致生成的 SQL 包含了 userName 的相关内容了?

Michael Yang 通过 mybatis-flex/mybatis-flex Commit f23cf43任务状态待办的 修改为已完成 2年前

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
7984572 suomm 1698661375 61279 fuhai 1716893681 aqnghu-aqnghu
1
https://gitee.com/mybatis-flex/mybatis-flex.git
git@gitee.com:mybatis-flex/mybatis-flex.git
mybatis-flex
mybatis-flex
MyBatis-Flex

搜索帮助