Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 32538 invoked from network); 23 Jul 2009 06:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 06:39:15 -0000 Received: (qmail 30897 invoked by uid 500); 23 Jul 2009 06:40:19 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 30860 invoked by uid 500); 23 Jul 2009 06:40:19 -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 30852 invoked by uid 99); 23 Jul 2009 06:40:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 06:40:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 06:40:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MTry1-0002rl-GJ for user-java@ibatis.apache.org; Wed, 22 Jul 2009 23:39:49 -0700 Message-ID: <24620151.post@talk.nabble.com> Date: Wed, 22 Jul 2009 23:39:49 -0700 (PDT) From: Dawson Lewis To: user-java@ibatis.apache.org Subject: Re: LazyLoading and CGLIB return wrong types In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: hardcoreehb@yahoo.com.br References: <24607048.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for you reply Larry, Is there a way I can get the "normal" Address objects ? I need to serialize those objects to XML , the extra fields in these enhanced classes will create problems when deserializing because maybe the application that will deserialize is not using iBatis. Can't I just disable lazy loading and CGLI= B for performing serialization ? Regards Larry Meadors wrote: >=20 > They are still Address objects, just enhanced ones. >=20 > Larry >=20 >=20 > On Wed, Jul 22, 2009 at 7:58 AM, Dawson Lewis > wrote: >> >> Hi , >> >> I have an object with a List property - List
addresses, after >> iBatis populates this object =C2=A0the addresses fields will not contain= a >> list >> of address objects but a List$$EnhancerCGLIBb$$475a4210 , according to >> the >> eclipse debugger. >> >> This only happens when lazyLoadingEnabled and enhancementEnabled are set >> to >> true. >> >> Is there anyway I can get =C2=A0a list of addresses (List
) with= out >> disabling lazy loading or enhancement ? >> >> Best regards >> -- >> View this message in context: >> http://www.nabble.com/LazyLoading-and-CGLIB-return-wrong-types-tp2460704= 8p24607048.html >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >> For additional commands, e-mail: user-java-help@ibatis.apache.org >> >> >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/LazyLoading-and-CGLIB-r= eturn-wrong-types-tp24607048p24620151.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org