Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 28907 invoked from network); 13 Aug 2009 21:31:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 21:31:54 -0000 Received: (qmail 47429 invoked by uid 500); 13 Aug 2009 21:32:00 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 47375 invoked by uid 500); 13 Aug 2009 21:32:00 -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 47367 invoked by uid 99); 13 Aug 2009 21:32:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:32:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clinton.begin@gmail.com designates 209.85.212.199 as permitted sender) Received: from [209.85.212.199] (HELO mail-vw0-f199.google.com) (209.85.212.199) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:31:52 +0000 Received: by vws37 with SMTP id 37so942805vws.27 for ; Thu, 13 Aug 2009 14:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+Xtb/+Kq2XT84QSGCdVRsFFX/880awCZVbUpbmQ/qX8=; b=bc24WsgSrg78rrtatszeRsnaIFzhjPUwBMYv4QOZcLIkmXQlDyzVkc/8nTj1wLRbjj i6rjiwGp4KJuwhVKi2WtF2A/M4IVnPGUVM/Inf3q8zl0aHT36UDA0m3IXBFKX3h5LZk1 p2jktVwO36LQiO/GREYsaHTOwFOF/J1XhgMSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fFP/keelkzLv0BeB/skmcbW7wsRlkPiJP/UqYNUwIh3nZx4FmccxMWKH6kf9oxc5np i9e+sYkWWfA8dycgbuGFJcW5S7Ag81LVgF6+dUqDOrHq5+IS8QpJ2rDA6CxqgimgSVDW lanrZwKm2gZPX+ZCTE7LT1uUAF2JNNXNZ+DTE= MIME-Version: 1.0 Received: by 10.220.76.207 with SMTP id d15mr1543833vck.95.1250199091008; Thu, 13 Aug 2009 14:31:31 -0700 (PDT) In-Reply-To: <2fd0c7810908130929n33c882dp4169d6f15cf4a667@mail.gmail.com> References: <2f55db670908081236y170fc78aua7cf6783dfc66787@mail.gmail.com> <55efbd800908081316x5ae085adnf5888d62f7954f10@mail.gmail.com> <16178eb10908081333h7f720db3p9869a9a4548b3f96@mail.gmail.com> <2fd0c7810908130139j2ac5e8f3r2371871096bb16c1@mail.gmail.com> <16178eb10908130542h35cddbb1mb9e6a670897cc3cd@mail.gmail.com> <2fd0c7810908130742k5dc9c288t2039a8aeb17a946b@mail.gmail.com> <2fd0c7810908130744g665f7f92u7ea9c8bb6d519960@mail.gmail.com> <16178eb10908130818n2fff1445n3408defc01b4db7@mail.gmail.com> <2fd0c7810908130929n33c882dp4169d6f15cf4a667@mail.gmail.com> Date: Thu, 13 Aug 2009 15:31:30 -0600 Message-ID: <16178eb10908131431g68b3dda3v751946e140a14802@mail.gmail.com> Subject: Re: iBATIS 3 for Java Released (BETA 1) From: Clinton Begin To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=0016e64754eab7d46004710ca8b5 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64754eab7d46004710ca8b5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit SqlRunner is not used by iBATIS core. It's used by the migrations tool though, and I use it for unit tests all the time. Consider it part of the "utilities" included with iBATIS. Clinton On Thu, Aug 13, 2009 at 10:29 AM, Fred Janon wrote: > Sorry, I don't get it. There is a "run" method in SqlRunner made for that, > but it doesn't seem to be called from anywhere. I can't use an select, > insert, update or delete since the DDL doesn't return any result and they > do. > > /** > * Executes any string as a JDBC Statement. > * Good for DDL > * > * @param sql The SQL > * @throws SQLException If statement prepration or execution fails > */ > public void run(String sql) throws SQLException { > > Fred > > > On Thu, Aug 13, 2009 at 23:18, Clinton Begin wrote: > >> This question is worthy of a new thread. But since the answer is so >> simple: >> >>