You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by karim <a....@free.fr> on 2004/09/01 22:19:43 UTC

sequence

how work sequence in torque ?
give me one example please

thanks


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


Re: AW: sequence

Posted by a....@free.fr.
it's work
thank you

Selon Ferruh Zamangoer <fe...@gistec-online.de>:

> 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:a.wahhabi@free.fr]
> 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: 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


AW: sequence

Posted by Ferruh Zamangoer <fe...@gistec-online.de>.
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:a.wahhabi@free.fr]
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: 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