You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Lowe <ma...@talk21.com> on 2004/03/02 14:57:08 UTC

[OT]Re: IdGenerator ... is null

Looks like a torque question to me, but that list can get kinda 
robot-wars.

Its been a while but, does the id field in your schema look like this?


<column name="FOO_ID" type="INTEGER" required="true" primaryKey="true" 
/>


On 2 Mar 2004, at 14:41, Silviu Marcu wrote:

> Hi
> I configured torque for mysql and into schema I wrote
> defaultIdMethod="native" ... so the ID BROKER should not be used.
> BUT I receive the following exception:
>
> org.apache.torque.TorqueException: IdGenerator for table '...my table
> ...' is null
> 	at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:708)
>
> I also searched the mail archives and this error is present but with no
> response.
> Regards
> silviu marcu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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