db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject Re: Only one ID_BROKER column per table?
Date Thu, 24 Jul 2003 11:34:31 GMT
"Michel Beijlevelt" <mbe@lucka.nl> writes:

Revamp the id_broker to take a column name argument and add a column
for the name to the id_table definition.

Patches welcome. ;-)


>Hi all,

>does the ID_BROKER mechanism of Torque supports only one ID_BROKER
>autoincrement column per table?

>That seems to be the case because in the ID_TABLE table there's only a
>TABLE_NAME column, no COLUMN_NAME column and the TABLE_NAME has to be

>Does any one know how to make 2 autoincrement columns on a table? Of
>course there's adding a "select max()+1" to the OM classes but surely
>there's a more elegant solution.

>gr. Michel

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

Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <3F1874B0.6030507@coyotegulch.com>

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

View raw message