ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew B <chillweeder2...@yahoo.com>
Subject optional parameters
Date Thu, 03 May 2007 20:04:28 GMT
Hello,

I am using iBATIS 2.3.0. I want to map a query for a report, that will have some optional
selection criteria. If I map the query with these criteria as parameters, and then send null
values for ones the user has not selected, will SQL Map leave them out of the query? Or, if
not, is there a way to do this? (I want to avoid using a stored procedure if possible).

Thanks,

Andrew B



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message