• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBatis Question

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I want to check for null values using a dynamic prepend. Any idea on which tag that I should use for this purpose? I tried the <isNull..> but seems not to be working.
 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you post your code please ?

Anyways, in my application i am doing something like this for dynamic prepend. Check the code below..




Check that it works for you !!!

"Helping hands are better than praying lips"


 
Dhananjay Patkar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just check you comparing null against an object type. and not for primitive data type.
I have used isNull several times and it works fine....

Cheers,
Dhananjay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic