Subject | Re: [firebird-support] Generating unique continual integers for invoice numbering |
---|---|
Author | toldy007@t-online.hu |
Post date | 2007-12-14T12:15:47Z |
Thanks for your reply Marcin.
I think that your solution won't solve my problem. As I know, BeforeInsert will be called when the
INSERT is called and not after the commit!
Thus if there is a problem with the INSERT or there is a rollback, a concurrent transaction
inserting a record at the same time could cause a gap in the numbering!
Any more ideas?
Thanks!
Zd
I think that your solution won't solve my problem. As I know, BeforeInsert will be called when the
INSERT is called and not after the commit!
Thus if there is a problem with the INSERT or there is a rollback, a concurrent transaction
inserting a record at the same time could cause a gap in the numbering!
Any more ideas?
Thanks!
Zd