Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 76165 invoked from network); 18 Sep 2003 16:07:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Sep 2003 16:07:34 -0000 Received: (qmail 83447 invoked by uid 500); 18 Sep 2003 16:07:23 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 83433 invoked by uid 500); 18 Sep 2003 16:07:23 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 83413 invoked from network); 18 Sep 2003 16:07:21 -0000 Received: from unknown (HELO localhost.localdomain) (196.30.143.210) by daedalus.apache.org with SMTP; 18 Sep 2003 16:07:21 -0000 Received: from sharp.fm (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h8IG7L405201 for ; Thu, 18 Sep 2003 18:07:21 +0200 Message-ID: <3F69D839.6060508@sharp.fm> Date: Thu, 18 Sep 2003 18:07:21 +0200 From: Graham Leggett User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4) Gecko/20030712 X-Accept-Language: en-gb, en-za, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: Transactions and saving - problems with commit References: <10F4BAF24D2FD511B3D600B0D039CEF4F3B7E2@CHARON> <3F69D6D5.2020203@sharp.fm> In-Reply-To: <3F69D6D5.2020203@sharp.fm> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Graham Leggett wrote: >> conn = Transaction.beginOptional("yourb DB name", true); >> >> // then save with the conn object >> contact.save(conn ); >> company.setContact(contact); >> company.save(conn ); Oops - ignore me - I had specified contact.save() instead of contact.save(conn), which caused the problem, which was hidden amongst some other save(conn)'s that were specified correctly... By bad :( Regards, Graham -- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..." --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org