Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 78761 invoked from network); 13 Jul 2004 09:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jul 2004 09:06:39 -0000 Received: (qmail 79337 invoked by uid 500); 13 Jul 2004 09:06:35 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 79310 invoked by uid 500); 13 Jul 2004 09:06:35 -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 79296 invoked by uid 99); 13 Jul 2004 09:06:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [213.157.167.146] (HELO gw.reea.net) (213.157.167.146) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 13 Jul 2004 02:06:31 -0700 Received: from [192.168.0.2] (andras.ms.reea.net [192.168.0.2]) by gw.reea.net (8.12.8/8.12.8) with ESMTP id i6D96Ool026040 for ; Tue, 13 Jul 2004 12:06:24 +0300 Message-ID: <40F3A61A.5080003@reea.net> Date: Tue, 13 Jul 2004 12:06:34 +0300 From: Andras Balogh User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: IdGenerator is null References: <40F3A35F.7010305@gmx.net> In-Reply-To: <40F3A35F.7010305@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, How is your torque.properties file look like? Do you have a line like: torque.database..adapter=mysql ? Best regards, Andras. ron piterman wrote: > Hi, > I am using torque with mysql, generating the schema vie the ant jdbc > task, and then the obejct model with the om task. > When calling save(connection) on a new object (thus inserting), I get > an exception: IdGenerator is null. > in my Map classes, the generator method is set to NATIVE. > What did I forget? > Cheers, > Ron > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org