ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jane Phillips <jane22...@yahoo.com>
Subject Is it possible that resultClass="java.util.HashMap"?
Date Thu, 09 Nov 2006 14:51:54 GMT
Hello,
   
  Is it possible that resultClass="java.util.HashMap"? I have a situation that it would be
nice that result is in a HashMap with ID is the key and name is the value. like
   
  <select id="getIDMap" resultClass="java.util.HashMap">
    select id, name from emp
  </select>
   
  Is that a way that I can config/implement it?
   
  Thanks a lot,
  Jane

 
---------------------------------
Sponsored Link

$200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home equity - Click now for info
Mime
View raw message