ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Array of Domain Objects - from queryObject
Date Tue, 14 Jun 2005 19:52:08 GMT
Man, this sounds like an RTFM kinda question unless I am misreading it.

resultClass="my.domain.ObjectClass"

List employeeList  = queryForList("getEmployee",null);

Larry


On 6/14/05, Jason Hall <JHall@cihi.ca> wrote:
>  
> 
> Hi, 
> 
> 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? 
> 
> Thanks, 
> 
> JH.

Mime
View raw message