ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chaithanya ibatis" <chaithanya.iba...@gmail.com>
Subject Re: HOW TO pass List of objects(a DTO) as single IN parameter to Stored Procedure
Date Tue, 11 Jul 2006 08:16:47 GMT
not possible?????????////
with or without ibatis


On 7/11/06, Beemsterboer Software <hans@beemsterboer-software.nl> wrote:
>
>  Hi,
>
> Passing a list of objects using a single input parameter?
> This is not even possible without iBatis.
>
> Greetings,
> Hans.
>
>
> chaithanya ibatis wrote:
>
> HI,
> I've been working with Oracle DB and iBatis
> Can anyone tell me how to passList of objects(a DTO) as single IN
> parameter to Stored Procedure using iBatis
> for example
> java.util.List  list = new ArrayList();
> SampleDTO obj1 = new SampleDTO();
> SampleDTO obj2 = new SampleDTO();
> list add(obj1);
> list add(obj2);
>
> i want to pass this list object as an IN parameter to procedure.
> (mapping required in SQL map files of ibatis)
> or any resources on this or code snippet
>
> thanks,
> Chaithanya
>
>
>

Mime
View raw message