ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Unsubscribe?
Date Wed, 23 Aug 2006 13:36:09 GMT
I've just added unsibscribe info to the mailing lists page here:

http://ibatis.apache.org/mailinglists.html


Jeff Butler




On 8/23/06, al pivonka <AL_PIVONKA@yahoo.com> wrote:
>
>  How does one unsubscribe from this list, I don't have time right now to
> read all of this.
>
> Al Pivonka
>
> (H)317.295.1737
>
> Those who say it can't be done,
> are usually interrupted by those doing it.
>
> ----- Original Message ----
> From: Chema <chemagogia@gmail.com>
> To: user-java@ibatis.apache.org
> Sent: Wednesday, August 23, 2006 7:41:59 AM
> Subject: Distinguish null and not null parameters
>
> Hello:
>
> I like to compose the next query
>
> <select id="idQuery" parameterClass="com.project.ParameterClass"
> resultClass="java.lang.String">
>     SELECT ID FROM  TABLE
>     WHERE
>     <isNotNull property="field1">
>         AND FIELD1 = #field1#
>     </isNotNull>
>     <isNull property="field1">
>         AND FIELD1 IS NULL
>     </isNull>
> </select>
>
> Is there another better way to distinguish null and not null parameters ?
>
> With only one parameter is not problem like in the previous example  , but
> really I need to make a comparision with many fields of ParameterClass ( All
> parameters not named like fieldX )
>
> Thanks a lot
>
> Best regards
>
>
>
>
>
>

Mime
View raw message