2
如何忽略iBatis resultMap上的缺失列?忽略缺失列
如果我有这样的映射
<resultMap id="DBEntity" class="CS_Entity">
<result property="Id" column="Id" />
<result property="Field1" column="f1" />
<result property="Field2" column="f2" />
</resultMap>
某些查询我想要回塔F2,但我怎么能不声明使用默认值将所有其他查询字段F2。
有没有办法?