get sorted ResultMap on iBatis
use LInkedHashMap.
sql.xml
< select id="selectAllByColumnSorted" resultClass="java.util.LinkedHashMap" parameterClass="String" remapResults="true">
select * from $value$
< / select >
Written by KOIZUMI teruaki
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#