ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaybytez <jayby...@gmail.com>
Subject RE: Return result as Map
Date Wed, 21 Jun 2006 21:51:29 GMT

Here is my query:

  <select id="queryMapFacilityServiceLookup"
      SELECT facility_service_desc, facility_service_code
      FROM facility_service_lookup

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.

View raw message