一些函数的区别

Sql_map中带有的两个函数是:

updateByPrimaryKeySelective

updateByPrimaryKey

前者只是更新新的model中不为空的字段。

后者则会将为空的字段在数据库中置为NULL。

 

selectByCriteria

selectByCriteriaWithBLOBs

前者不会返回text字段,后者会返回

猜你喜欢

转载自zeraw.iteye.com/blog/2380827
今日推荐