ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Hall" <JH...@cihi.ca>
Subject Array of Domain Objects - from queryObject
Date Tue, 14 Jun 2005 18:05:51 GMT

Is there a way to get an array of Domain objects or a list of domain objects using
any of the the queryxxxx methods. Instead of a list of HashMaps or HashMap of HashMaps?

ex. Employee employee[]  = queryForObject("getEmployee",null);

Or do I have to do this manually by extracting from the HashMap into the Domain objects then
into array?



View raw message