Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 38184 invoked from network); 29 May 2008 11:30:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 11:30:42 -0000 Received: (qmail 13144 invoked by uid 500); 29 May 2008 11:30:37 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 13126 invoked by uid 500); 29 May 2008 11:30:37 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 13115 invoked by uid 99); 29 May 2008 11:30:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 04:30:37 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brunosanzmarino@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 11:29:50 +0000 Received: by ug-out-1314.google.com with SMTP id q7so68886uge.21 for ; Thu, 29 May 2008 04:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=tX+Esa8/l6Ax2xA1aXyimkjvEPei/jbGBeNdcVBfa/o=; b=wpQYHdmJ/CCmlO4bXLX6Y4G2ytOhsu8Fc0FuEk0v1AhUo6hUjqPM+EPeLVDdzE0L4GMjNlpNmpYuRI9T3EkmRt2Lo5kkXPP/OpyZnNQOZ2T2Mzwj09nNofZVGagRcj7wpIPIum4Gy74515NjiyJuHDwK0HmNHaCOoQUyEAtlYfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=SBCbiVoadHylBpQOo9agXgOelXU16nedkAjrPMGs9Tu245ogkb/M5cblf2hKioalsMtZN8NwylwRmq+4fm/6Cd3/ZBteBRWLQjC7Sv/z7FRgh1NDUhOeMY+2hhSzIMo3zL8Q5c2Odk2M4zNUhSHtN7SMf09EwEBJGUeHnA6SOxE= Received: by 10.66.241.13 with SMTP id o13mr811130ugh.6.1212060602125; Thu, 29 May 2008 04:30:02 -0700 (PDT) Received: by 10.67.25.14 with HTTP; Thu, 29 May 2008 04:30:02 -0700 (PDT) Message-ID: Date: Thu, 29 May 2008 13:30:02 +0200 From: "Bruno Sanz" To: user-java@ibatis.apache.org Subject: customized where MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14449_1285930.1212060602244" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14449_1285930.1212060602244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi We have a customized search form . This allow tro add conditions. We would want to be able to write one customized "where" in the query Is there any way to "send" the where as parameter to the ibatis? We want to create one condition that could have many "OR" and "AND"s in the query (unknown before, evaluated at run time) Any ideas? thank you in advance Bruno ------=_Part_14449_1285930.1212060602244 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi

We have a customized search form . This allow tro add conditions. We would want to be able to write one customized "where" in the query

Is there any way to "send" the where as parameter to the ibatis?
We want to create one condition that could have many "OR" and "AND"s in the query (unknown before, evaluated at run time)

Any ideas?

thank you in advance

Bruno
------=_Part_14449_1285930.1212060602244--