Hi, > Okay. How do you generate the same sequence id for different triggers in > the same transaction (and different ids for different transactions)?
The first operation in the transaction could generate a new sequence id, and all other operations could then use the last value of the generated sequence: http://h2database.com/html/functions.html#currval I guess this is how I would solve the problem. It is relatively database independent. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
