Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 75969 invoked from network); 17 Jul 2006 20:44:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jul 2006 20:44:12 -0000 Received: (qmail 69474 invoked by uid 500); 17 Jul 2006 20:44:09 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 69460 invoked by uid 500); 17 Jul 2006 20:44:09 -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 69449 invoked by uid 99); 17 Jul 2006 20:44:09 -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:44:09 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.73.178.177] (HELO web60514.mail.yahoo.com) (209.73.178.177) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Jul 2006 13:44:08 -0700 Received: (qmail 12392 invoked by uid 60001); 17 Jul 2006 20:43:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QRRoVf3nO7fDZ99cPnwfYVO9ag3uIxokBDAmQoFUt+aiTQwePp6aA8YpKbI5d8zCxXbDw8MxY9hWUxJoF45R8Awn06WelwhQRB2meCVcg7+8W2hTPHm8uUnQPIYBaToAlZcUponmjzhjpdTOovQflDhBZ9YZg74tTPvfG4zwHRs= ; Message-ID: <20060717204347.12390.qmail@web60514.mail.yahoo.com> Received: from [56.0.163.16] by web60514.mail.yahoo.com via HTTP; Mon, 17 Jul 2006 13:43:47 PDT Date: Mon, 17 Jul 2006 13:43:47 -0700 (PDT) From: Bing Lu Subject: Re: transaction help please To: user-java@ibatis.apache.org In-Reply-To: <9cfc88c20607171332m487ef457gf29c8ab99c64bfb7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do I have to get a DAOManager, I can just do a startTransaction and endTransaction just using the sqlMapClient right? --- hicham abassi wrote: > 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 > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com