Sql_map中带有的两个函数是:
updateByPrimaryKeySelective
updateByPrimaryKey
前者只是更新新的model中不为空的字段。
后者则会将为空的字段在数据库中置为NULL。
selectByCriteria
selectByCriteriaWithBLOBs
前者不会返回text字段,后者会返回
Sql_map中带有的两个函数是:
updateByPrimaryKeySelective
updateByPrimaryKey
前者只是更新新的model中不为空的字段。
后者则会将为空的字段在数据库中置为NULL。
selectByCriteria
selectByCriteriaWithBLOBs
前者不会返回text字段,后者会返回