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: Insert for Complex object
Date Tue, 11 Jan 2005 20:23:30 GMT
Yes, iBATIS supports stored procedures.  It's fully documented in the
developer guide.

As for cascading updates, that is not supported and probably won't be.
 It's a complex pattern that often ends up doing more damage than
good.

Clinton

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