db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ron piterman <ron.piter...@gmx.net>
Subject Re: IdGenerator is null
Date Tue, 13 Jul 2004 09:07:54 GMT
I don't know if it mutters, but I also habe:
torque.idbroker.cleverquantity=true


Andras Balogh wrote:

> Hello,
>
> How is your torque.properties file look like?
> Do you have a line like:
> torque.database.<yourdb_name>.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
>
>

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


Mime
View raw message