ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawson Lewis <hardcore...@yahoo.com.br>
Subject LazyLoading and CGLIB return wrong types
Date Wed, 22 Jul 2009 13:58:11 GMT

Hi ,

I have an object with a List property - List<Address> addresses, after
iBatis populates this object  the 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  a list of addresses (List<Address>) without
disabling lazy loading or enhancement ?

Best regards
-- 
View this message in context: http://www.nabble.com/LazyLoading-and-CGLIB-return-wrong-types-tp24607048p24607048.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


Mime
View raw message