Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 78683 invoked from network); 12 Mar 2006 13:13:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Mar 2006 13:13:15 -0000 Received: (qmail 38621 invoked by uid 500); 12 Mar 2006 13:13:14 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 38600 invoked by uid 500); 12 Mar 2006 13:13:14 -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 38588 invoked by uid 99); 12 Mar 2006 13:13:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Mar 2006 05:13:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of larry.meadors@gmail.com designates 66.249.82.196 as permitted sender) Received: from [66.249.82.196] (HELO xproxy.gmail.com) (66.249.82.196) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Mar 2006 05:13:13 -0800 Received: by xproxy.gmail.com with SMTP id h29so704095wxd for ; Sun, 12 Mar 2006 05:12:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NNKn+DdYh18TmxiqpLRInAzzh6ZhZrfwFBUYyVg5jJtolypbESzjnsKqzURlDa+hwIRy+qjU2dlySCngPrHE6ElCXLADX3SxSphzjZUQecSX0OYRhmzLt3oldR5dcte/fV21xEl5Oox3rQwPAxrgRdzJ0fIxU8FrXmL18z3iKbI= Received: by 10.70.117.17 with SMTP id p17mr950661wxc; Sun, 12 Mar 2006 05:12:50 -0800 (PST) Received: by 10.70.74.20 with HTTP; Sun, 12 Mar 2006 05:12:50 -0800 (PST) Message-ID: Date: Sun, 12 Mar 2006 06:12:50 -0700 From: "Larry Meadors" Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: Urgent help required In-Reply-To: <004301c645d2$30a3d5d0$0d10a8c0@coan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8AED8A2865F7064989119502BD85729D5818AD@EXCHANGE3.uspto.gov> <004301c645d2$30a3d5d0$0d10a8c0@coan> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Am I missing something here...do people frequently insert multiple rows? Because I would guess that 99.999% of the time I insert one and only one ro= w. Getting a 0 or 1 back is no more useful than an exception being thrown (or not being thrown). This is not going to be changed because of that and the fact that it would break the existing selectKey behavior unless we returned a List (..and would that be a list of generated keys, or 0s and 1s?). Larry On 3/12/06, Cornel Antohi wrote: > > Hi, > > We experienced the same "strange" problem and we decided, until IBatis te= am > will implement the insert as in documentation, to use "update" option fro= m > xml files with an INSERT sql query. > > Thank you, > > Cornel