Return-Path: Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 80501 invoked by uid 500); 7 Aug 2003 14:53:58 -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 80443 invoked from network); 7 Aug 2003 14:53:57 -0000 Received: from 24.213.58.118.up.mi.chartermi.net (HELO ccimail.net) (24.213.58.118) by daedalus.apache.org with SMTP; 7 Aug 2003 14:53:57 -0000 Received: from [24.213.58.122] (HELO cpu612) by ccimail.net (CommuniGate Pro SMTP 4.0.5) with ESMTP id 674340 for torque-user@db.apache.org; Thu, 07 Aug 2003 10:02:15 -0500 From: "Matt Reath" To: "'Apache Torque Users List'" Subject: RE: Problems with save() method with Peer class Date: Thu, 7 Aug 2003 09:53:59 -0500 Organization: Cable Constructors, Inc. Message-ID: <002501c35cf3$bba22580$350614ac@CCIDOMAIN.NET> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 In-Reply-To: <01cb01c35cf2$de94a370$0200a8c0@andras> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Andras, I'll try the native method. Caoilte, I get this error now. org.apache.torque.TorqueException: Torque was not initialized properly. How do I initialize it properly? I'm using Torque standalone in unit tests right now, it will go in a Swing application. Matt -----Original Message----- From: Andras Balogh [mailto:andras@reea.net] Sent: Thursday, August 07, 2003 9:48 AM To: Apache Torque Users List Subject: Re: Problems with save() method with Peer class ----- Original Message ----- From: Matt Reath To: 'Apache Torque Users List' Sent: Thursday, August 07, 2003 5:39 PM Subject: RE: Problems with save() method with Peer class Andras, I've included my config files. I hope you can help. Hello Matt, I just seen that you are using id_broker. I have never used it so i don't know how it works. BTW mysql supports autoincrement primary keys so you don't need id_broker .. you could use idMethod="native". Probably you have a reason why you choosed id_broker, but i am on foreign ground with it, sorry. BW, Andras. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org