db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: IdGenerator for table 'x' is null Error Help
Date Wed, 25 Feb 2004 12:36:48 GMT
The other thing to check would be that the database name was specified 
as an attribute of the database element in the schema (logical name that 
corresponds to the value used in Torque.properties).


Scott Eade
Backstage Technologies Pty. Ltd.

Daniel Kreuzhofer wrote:

>Did you get a solution for this problem? I have the same problem with
>torque 3.1.
>Mit freundlichen Grüßen
>Daniel Kreuzhofer
>netoption GbR
>Multimedia - Netzwerk - Online-Solutions
>Geschäftsführer: Daniel Kreuzhofer
>                  und Christian Kopecky
>Truderinger Str. 13
>81677 München
>Tel.: +49 89 4576909-0
>Fax : +49 89 4576909-9
>e-Mail : mailto:info@netoption.de
>www : http://www.netoption.de
>>-----Original Message-----
>>From: Phillip Rhodes [mailto:spamsucks@rhoderunner.com] 
>>Sent: Tuesday, January 27, 2004 7:26 AM
>>To: torque-user@db.apache.org
>>Subject: IdGenerator for table 'x' is null Error Help
>>I am running torque 3.1.  I get an error when I try to save a 
>>object of type SubGroupSummary.  I have seen this error in 
>>the mailing list archives, it was either
>>a) they did not set the adapter (e.g. mysql)
>>b) they did not specify the correct idMethod
>>I believe that I have both a) and b) correct.  But just to 
>>make certain, can someone just check my configuration?  I 
>>appreciate it. I can do selects fine...
>>torque.dsfactory.hra.pool.validationQuery=SELECT 1 
>><table name="SUB_GROUP_SUMMARY" idMethod="native">
>>  <column name="SUB_GROUP_SUMMARY_ID"
>>  autoIncrement="true" required="true"
>>  primaryKey="true" type="INTEGER"/>
>><!-- snip! -->
>>using commons-dbcp-20030825.184428.jar
>>org.apache.torque.TorqueException: IdGenerator for table 

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message