ibatis中动态查询表返回用resultClass="java.util.HashMap" 的问题

http://blog.csdn.net/dyllove98/article/details/4742588
 
<select id="getTableDataByPage" resultClass="java.util.HashMap" parameterClass="java.util.HashMap" remapResults="true">   
<![CDATA[   
select * from (select rownum id,t.* from   
$tableName$ t where rownum<= #endNum# ) b where b.id>= #startNum#   
]]> 
</select> 
 

猜你喜欢

转载自panyongzheng.iteye.com/blog/2282115