Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 39512 invoked from network); 8 Dec 2005 12:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Dec 2005 12:54:31 -0000 Received: (qmail 49081 invoked by uid 500); 8 Dec 2005 12:54:05 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 48934 invoked by uid 500); 8 Dec 2005 12:54:04 -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 48780 invoked by uid 99); 8 Dec 2005 12:54:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 04:54:04 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 194.214.218.110 is neither permitted nor denied by domain of olivier.ziller.lists@gmail.com) Received: from [194.214.218.110] (HELO isis.univ-nancy2.fr) (194.214.218.110) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 04:54:03 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by isis.univ-nancy2.fr (Postfix) with ESMTP id 5940A55FFD for ; Thu, 8 Dec 2005 13:53:40 +0100 (CET) Received: from isis.univ-nancy2.fr ([127.0.0.1]) by localhost (isis.univ-nancy2.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12665-07 for ; Thu, 8 Dec 2005 13:53:39 +0100 (CET) Received: from [193.54.39.29] (app006-2.univ-nancy2.fr [193.54.39.29]) by isis.univ-nancy2.fr (Postfix) with ESMTP id AD9FD55FA9 for ; Thu, 8 Dec 2005 13:53:39 +0100 (CET) Message-ID: <43982CD3.3030806@gmail.com> Date: Thu, 08 Dec 2005 13:53:39 +0100 From: Olivier Ziller GMail Lists User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Test if a statement exists Content-Type: multipart/alternative; boundary="------------040908080005060709060409" X-Virus-Scanned: by amavisd-new at univ-nancy2.fr X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------040908080005060709060409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit hello, i want to give my users the possibility to write their own statements. If they do not, i will user a "default" statement so, in my code, what i'm trying to do is : * given � sqlmapclient * search if the "user-statement" exists * if so, execute the user-statement * if not, execute the "default-statement" that is shipped with my application could someone tell me if it is possible with ibatis? regards --------------040908080005060709060409 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit hello,

i want to give my users the possibility to write their own statements. If they do not, i will user a "default" statement

so, in my code, what i'm trying to do is :

  • given à sqlmapclient
  • search if the "user-statement" exists
  • if so, execute the user-statement
  • if not, execute the "default-statement" that is shipped with my application
could someone tell me if it is possible with ibatis?

regards
--------------040908080005060709060409--