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:[EMAIL PROTECTED]
www : http://www.netoption.de
> -----Original Message-----
> From: Phillip Rhodes [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 27, 2004 7:26 AM
> To: [EMAIL PROTECTED]
> 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)
> or
> 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.database.hra.adapter=mysql
> torque.database.default=hra
> torque.dsfactory.hra.factory=org.apache.torque.dsfactory.Share
> dPoolDataSourceFactory
> torque.dsfactory.hra.pool.defaultMaxActive=30
> torque.dsfactory.hra.pool.testOnBorrow=true
> torque.dsfactory.hra.pool.validationQuery=SELECT 1
> torque.dsfactory.hra.connection.driver=com.mysql.jdbc.Driver
> torque.dsfactory.hra.connection.url=jdbc:mysql://127.0.0.1:3306/hra
> torque.dsfactory.hra.connection.user=
> torque.dsfactory.hra.connection.password=
>
> <table name="SUB_GROUP_SUMMARY" idMethod="native">
> <column name="SUB_GROUP_SUMMARY_ID"
> autoIncrement="true" required="true"
> primaryKey="true" type="INTEGER"/>
> <!-- snip! -->
> </table>
>
> using commons-dbcp-20030825.184428.jar
>
> org.apache.torque.TorqueException: IdGenerator for table
> 'SUB_GROUP_SUMMARY' is null
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]