Subject | Re: generator ids in uncommitted transactions |
---|---|
Author | kapsee |
Post date | 2005-11-03T16:21:42Z |
I am using this to keep track of changes so that they can be cached
for example in an application. To do this, it's easy to select all the
rows that have the id greater than the id I saw last time.
Therefore I need to know if any transaction with a lower id might now
commit in the future.
Thanks!
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
for example in an application. To do this, it's easy to select all the
rows that have the id greater than the id I saw last time.
Therefore I need to know if any transaction with a lower id might now
commit in the future.
Thanks!
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
>transactions
> >
> > Is there any way to find out if there are any uncommitted
> > that have called gen_id on a generator ?all
> > Or if I get an id using the gen_id call, can I somehow wait till
> > current transactions either commit or abort ?
> >
> > Thanks!
> >
>
> uh oh... what are you trying to do... sounds fishy
> Alan
>