ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Moore <j...@jmsd.co.uk>
Subject Generate a list of Integers?
Date Thu, 11 May 2006 16:57:51 GMT
I'm just getting into Ibatis and am enjoying using it. I now have what 
is probably rather a dumb question. Hitherto I have been using result 
maps with my own classes, so Ibatis maps database columns to properties 
in my class. I now want to have Ibatis simply return me a list of 
Integers. I have a table with an id column, defined as int, and I simply 
want a list of those ids. How do I do this? I'm getting a bit confused 
with resultMaps and resultClasses.



John Moore  -  Norwich, UK  -  john@jmsd.co.uk

View raw message