James:
I am not quite sure if I can find the solution in the tutorial because
the input data is any array or list.
I have to write something like:
SELECT name
FROM Employee
WHER title in (.)
where (.) is the list of titles.
Since I do not know the size of list of titles before hand,
Subject: Re: List of data as input
James:
I am not quite sure if I can find the solution in the tutorial because
the input data is any array or list.
I have to write something like:
SELECT name
FROM Employee
WHER title in (.)
where (.) is the list of titles.
Since I do not know the size
Thanks,
[EMAIL PROTECTED] wrote:
Hello,
You can do this using a dynamic select :
title=#titleList[]#
Hilde
-Original Message-
From: John Chien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 16, 2006 3:38 PM
To: user-java@ibatis.apache.org
Subject: Re: List of data
:37
To: user-java@ibatis.apache.org
Subject: Re: List of data as input
James:
I am not quite sure if I can find the solution in the tutorial because
the input data is any array or list.
I have to write something like:
SELECT name
FROM Employee
WHER title in (.)
where (.) is the list of
Hello,
You can do this using a dynamic select :
title=#titleList[]#
Hilde
-Original Message-
From: John Chien [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:38 PM
To: user-java@ibatis.apache.org
Subject: Re: List of data as input
James:
I am not quite sure if I
Hi John,
If you download the ibatis quick start guide
http://cvs.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2-Tutorial.pdf
you will find this out i no time.
Good luck you already have way there
Steve..
From: John Chien [mailto:[EMAIL PROTEC