Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 21114 invoked from network); 14 Jun 2005 18:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 18:05:46 -0000 Received: (qmail 85074 invoked by uid 500); 14 Jun 2005 18:05:44 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 85016 invoked by uid 500); 14 Jun 2005 18:05:43 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 85001 invoked by uid 500); 14 Jun 2005 18:05:43 -0000 Delivered-To: apmail-incubator-ibatis-user-java@incubator.apache.org Received: (qmail 84998 invoked by uid 99); 14 Jun 2005 18:05:43 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mailserv.cihi.ca (HELO tormail01.cihi.ca) (205.207.78.3) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 11:05:38 -0700 Received: from (10.64.1.106) by webshield.cihi.ca via smtp id 167d_2dcc8b86_dcff_11d9_8f64_003048245df9; Tue, 14 Jun 2005 14:07:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5710B.B2E8A4F7" Subject: Array of Domain Objects - from queryObject Date: Tue, 14 Jun 2005 14:05:51 -0400 Message-ID: <373399D6389D8C42B4EAD9BE2B6B5C5F024A15E9@tormail01.cihi.ca> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Array of Domain Objects - from queryObject Thread-Index: AcVxC7LholoS7rZYS3+80/12TPTgSA== From: "Jason Hall" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C5710B.B2E8A4F7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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[] =3D 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. ------_=_NextPart_001_01C5710B.B2E8A4F7 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Array of Domain Objects - from queryObject

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[]  =3D = 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.

------_=_NextPart_001_01C5710B.B2E8A4F7--