Here is my query:
<select id="queryMapFacilityServiceLookup"
resultClass="java.util.HashMap">
<![CDATA[
SELECT facility_service_desc, facility_service_code
FROM facility_service_lookup
]]>
</select>
And here is how I call it:
Map mappedValues = sqlMap.queryForMap("queryMapFacilityServiceLookup",
null, "facility_service_desc","facility_service_code");
And i get a Map back with null values and one row.
--
View this message in context:
http://www.nabble.com/Return-result-as-Map-t1824496.html#a4983369
Sent from the iBATIS - User - Java forum at Nabble.com.