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: Insert for Complex object
Date Tue, 11 Jan 2005 20:47:35 GMT
Why not just use a loop or some other iteration technique? You are
talking about saving 3-4 lines of code per instance, which is not
terribly significant, IMO.


On Tue, 11 Jan 2005 18:17:21 +0000 (UTC), ibatis-new-user
<shilpa.pradhan@judiciary.state.nj.us> wrote:
> 
> Hi,
>    I understand that iBATIs 2.0.9 provides a simple way to map ResultSet to
> Complex object. (e.g. Category has many Products
>                        and Products has Items)
> 
> My question is, Can we do same thing for INSERT also??
> e.g. If I want to insert Category object using StoredProcedure, what will be
> the simplest way to do it in iBATIs?
> can we write a ParameterMap for this kind of object mapping?
> 
> any help is appreciated.
> Thanks,
> shilpa
> 
>

Mime
View raw message