You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by puneet arya <pu...@yahoo.co.in> on 2006/11/20 09:09:37 UTC

Fwd: how to use function


Note: forwarded message attached.
 				
---------------------------------
 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

Re: how to use function

Posted by Larry Meadors <lm...@apache.org>.
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 <pu...@yahoo.co.in> wrote:

>  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
> it NOW
>
> ---------- Forwarded message ----------
> From: puneet arya <pu...@yahoo.co.in>
> To: user-java-faq@ibatis.apache.org
> 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
>
>
>