Subject | Re: [firebird-support] isql doesn't show latest info |
---|---|
Author | Milan Babuskov |
Post date | 2003-09-02T12:12:01Z |
Marc-Antoine Desroches wrote:
When you do something in your aplication, it starts another transaction.
The first transaction (in isql) still sees the old versions of records
and will until you commit it.
--
Milan Babuskov
http://fbexport.sourceforge.net
> Does that mean that if I have two apps hitting the same database I shouldNot "before" a select, but "after".
> always 'commit' before a select?
> I find this quite counter-intuitive. IfWhen you select first time from isql, you have started a transaction.
> there are two applications, one writer and one reader, the reader should not
> have anything to commit to and always see the latest commited transactions.
> Is there a way to force this behaviour?
When you do something in your aplication, it starts another transaction.
The first transaction (in isql) still sees the old versions of records
and will until you commit it.
--
Milan Babuskov
http://fbexport.sourceforge.net