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: discriminator and submap
Date Sat, 04 Nov 2006 00:31:24 GMT
I'd probably do something like NVL(field, 'someMagicNullString') in
the sql to make sure that it wasn't null. :-/

Crude, but effective.

Larry


On 11/3/06, Christopher.Mathrusse@sybase.com
<Christopher.Mathrusse@sybase.com> wrote:
>
>
> Can I use the discriminator and sub map to test for null values? Meaning if
> I define the discriminator for a field and I want to apply one result map if
> the field is null and another if it is not, how do I define this?
>
> Thanks....
>
> Chris Mathrusse
> christopher.mathrusse@sybase.com
> (925) 236-5553
>

Mime
View raw message