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 Larry Meadors <lm...@apache.org> on 2006/11/04 01:31:24 UTC
Re: discriminator and submap
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
<Ch...@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
>