ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: how to use function
Date Mon, 20 Nov 2006 12:09:05 GMT
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 <puneet_arya_old@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 <puneet_arya_old@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
>
>
>

Mime
View raw message