Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 72417 invoked from network); 17 Jul 2006 20:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jul 2006 20:32:25 -0000 Received: (qmail 46610 invoked by uid 500); 17 Jul 2006 20:32:23 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 46591 invoked by uid 500); 17 Jul 2006 20:32:23 -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 46580 invoked by uid 99); 17 Jul 2006 20:32:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 13:32:23 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of habassi@gmail.com designates 66.249.82.196 as permitted sender) Received: from [66.249.82.196] (HELO wx-out-0102.google.com) (66.249.82.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2006 13:32:22 -0700 Received: by wx-out-0102.google.com with SMTP id h31so795625wxd for ; Mon, 17 Jul 2006 13:32:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r5BqP7UBjqDxQZ100OmWaovv5DMsjVnypwDTscm/BXouY0pwEPGYxN1dK7lGyRcJ8H3I4Q4bil1MkdcC0ID4fNDqNR7J70YK+KvIkd0JkWxKE3taGwv+ga+6NQKY4WcWer6ZpK4ub0N/ZJ5JmIy8RR6iCU6F0iPuNm7aUXVABwI= Received: by 10.70.78.18 with SMTP id a18mr3565995wxb; Mon, 17 Jul 2006 13:32:01 -0700 (PDT) Received: by 10.70.56.17 with HTTP; Mon, 17 Jul 2006 13:32:01 -0700 (PDT) Message-ID: <9cfc88c20607171332m487ef457gf29c8ab99c64bfb7@mail.gmail.com> Date: Mon, 17 Jul 2006 22:32:01 +0200 From: "hicham abassi" To: user-java@ibatis.apache.org Subject: Re: transaction help please In-Reply-To: <20060717202344.91016.qmail@web60517.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9cfc88c20607171250x10875839j8ff79d5966bb5c1c@mail.gmail.com> <20060717202344.91016.qmail@web60517.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You must implement a service layer to be able to call 1,n dao and implement transaction management Look at this page : http://svn.apache.org/repos/asf/ibatis/trunk/java/jpetstore/jpetstore5/src/com/ibatis/jpetstore/service/OrderService.java especially this method : insertOrder(Order order) On 7/17/06, Bing Lu wrote: > Hi, how do I do a delete&insert operation in one > transaction in ibatis? do I need to specify anything > in the transactionManager for this? > > thanks > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >