Hi,
you would also need to define that the method to
generate ids is "native". you can do that for all tables
in your schema.xml using
...
<database name="dmw" defaultIdMethod="native">
...
or you do it for each table that is affected:
...
<table name="DEPOT_ORDER_LIFECYCLE" idMethod="native" >
...
then torque generates the right classes.
regards,
Tino
-----Urspr�ngliche Nachricht-----
Von: Ferruh Zamangoer [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 2. September 2004 10:18
An: Apache Torque Users List
Betreff: AW: sequence
Hi,
for example you must define a sequence in your project-schema.xml like that
<table name="address_b322" description="Address_B322">
.... define your column here .....
<id-method-parameter name="ADDRESS_ID_SEQ" value="ADDRESS_ID_SEQ"/> //Thats
the sequence defintion
</table>
Then you must define in your database the sequence ADDRESS_ID_SEQ.
Regards
Ferruh
-----Urspr�ngliche Nachricht-----
Von: karim [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 1. September 2004 22:20
An: Apache Torque Users List
Betreff: sequence
how work sequence in torque ?
give me one example please
thanks
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]