db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Menard <j...@io.com>
Subject Re: IDs not generated until after save?
Date Thu, 18 Dec 2003 17:01:55 GMT
On Dec 18, 2003, at 11:57 AM, Manske, Michael wrote:

> you have to specify the id generation method on database level (or 
> table
> level if needed) in *schema.xml:
>
> <database name="customer" defaultIdMethod="idbroker">
> or
> <table name="account" idMethod="idbroker">

Ah, that's it. I used defaultIdMethod="native". I'll try "idbroker".

> we specify always defaultIdMethod="idbroker" on database level and
> idMethod="none"
> on table level for tables which doesn't require id generation.
>
> btw. i'm still using torque 3.0.2 but i guess it hasn't changed in 
> 3.1...

So am I.

Jim
-- 
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
As a math major, I don't have to be able to add -- I just have to be 
able
to PROVE that I can add.


---------------------------------------------------------------------
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