Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generators do not rollback

0 views
Skip to first unread message

Carlos Otero Barros

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
Hi all;

Generators used inside a transaction do not rollback when the transaction
does rollback. This is the logical consequence for generators being a common
resource for all the active transactions.
Now, the problem with this behavior is that you cannot rely generators for
fields that should have sequential values in each row. For example, supose
you have high concurrency on a ORDERS table and supose you do not want
unused order numbers but sequential ones. How do you manage this situation?

Thank you.

0 new messages