日期:2014-05-17 浏览次数:20689 次
<bean id="collector" parent="validationIBatisDbChunkCollector"> <property name="sql"> <value>SQL_GET_001</value> </property> </bean>
------解决方案--------------------
呵呵。学习
------解决方案--------------------
<select id="selectCount" resultClass="int" >
select count(*) from table
</select>
resultClass就是结果类型
------解决方案--------------------
<select id="SQL_GET_001" parameterClass="aaa.vo" resultClass = "bbb.vo"> select a AS "kk", b AS "kk2" from table where </select>
------解决方案--------------------