ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koka Kiknadze" <226...@gmail.com>
Subject Re: Logical OR'ing
Date Fri, 14 Dec 2007 11:23:25 GMT
Jeff,

Think the question was not about including OR-s in the SQL but executing SQL
only if OR-ed expression is true. Anyway, the right place of OR-s seems to
be in java, but it seems to me one can achieve the same adding the following
to the desired SQL (using appropriate syntax for specific database):

WHERE not (#x# isNull and #y# isNull and #z# isNull)

Mime
View raw message