Like you would use any other field. iBATIS doesn't care where the
column data comes from, so using "count(*)" or "my_great_field" are
the same to it.

Larry


On 11/20/06, puneet arya <[EMAIL PROTECTED]> wrote:

 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
it NOW

---------- Forwarded message ----------
From: puneet arya <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 20 Nov 2006 08:08:21 +0000 (GMT)
Subject: how to use function
Hi,
   i m trying to use a select query like

  select count(*) as personcount from dept where conditions

i want to map this person count in resultMap ..how to achieve that

puneet arya

 ________________________________
 Find out what India is talking about on - Yahoo! Answers India
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
it NOW



Reply via email to