ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Bean Factory is available?
Date Sat, 15 Jan 2005 16:22:52 GMT
Hi Tak,

No, that's not something we support.  But that sounds like something
that would be best done by your DAO class.  An alternative would be to
put a dynamic proxy behind the SqlMapClient interface and proxy your
classes on the way out of the queryForXxxxxx methods.

Cheers,
Clinton


On Fri, 14 Jan 2005 08:08:34 -0500,
takyoshida_consultant@cusa.canon.com
<takyoshida_consultant@cusa.canon.com> wrote:
>  
> Hi, 
>  
> Is there a way to set bean Factory to resultMap instead of setting bean
> class directly? 
> I mean, 
> <resultMap id="result" class="my.model.Person"> 
> to something like 
> <resultMap id="result" class="my.PersonFactory"> 
>  
> so that I could create proxy on top of my class. 
>  
> thanks, 
> Tak 
>

Mime
View raw message