Return-Path: Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 76527 invoked by uid 99); 24 Dec 2004 21:21:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of clinton.begin@gmail.com designates 64.233.184.196 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 24 Dec 2004 13:21:36 -0800 Received: by wproxy.gmail.com with SMTP id 71so209863wri for ; Fri, 24 Dec 2004 13:21:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SRg9vMKzcEd8o0GxQywLOlGjAEf1k5aAnVNS461pn0V5sEE6EW5i3kYvlSVFWuPETwFCtkynvA80cFZHrxqfJrykF4cYwOdLN8nVB4sIW0e8/20VcD+d5qCR3rJvAffAya8lZ8ezmPnVjtwjijxSa0ohBXlUALDJWZdgGL1ffDc= Received: by 10.54.16.72 with SMTP id 72mr38183wrp; Fri, 24 Dec 2004 13:21:34 -0800 (PST) Received: by 10.54.33.38 with HTTP; Fri, 24 Dec 2004 13:21:34 -0800 (PST) Message-ID: <16178eb1041224132152ffbafc@mail.gmail.com> Date: Fri, 24 Dec 2004 14:21:34 -0700 From: Clinton Begin Reply-To: cbegin@ibatis.com To: ibatis-user-java@incubator.apache.org Subject: Re: how to get the real sql In-Reply-To: <41CC7661.8050902@friendvu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41CC7661.8050902@friendvu.com> X-Virus-Checked: Checked If you could, that would be a driver level option. iBATIS never merges the parameters for you, it lets the PreparedStatement implementation do that. What's the error you're getting? Clinton On Fri, 24 Dec 2004 14:04:49 -0600, Vic Cekvenich wrote: > I can't get a simple mapped statement to work: > > SELECT > max(msg_num) as msg_num > from load_articles > where club_id = #club_id# > > Anyone know how can I get the real sql that executes with the parm and > real data returned in debug mode? (when I try in sql console it works > easily) > > getSql? > getRowSet? > > get the full sourcecode and trace? > > tia, > .V > > -- > RiA-SoA w/JDNC forums > - help develop a coomunity > My blog >