entity sql (null)

insert entity有null字段,可忽略(性能更优)
update entity有null字段
1 null-null 忽略
2 not null-null 必须要set了,但是很难区分,可以entity内记录更新的属性(列)了

猜你喜欢

转载自blog.csdn.net/kobexzf/article/details/84636286
今日推荐