Subject | Re: Urgent help needed: application locks with > 1 user |
---|---|
Author | ione1608 |
Post date | 2006-10-26T08:55:49Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@...> wrote:
stopped using it right away.
I set the NOWAIT option in the ODBC setting, and that seems to work.
>wrote:
> --- In firebird-support@yahoogroups.com, "ione1608" <aiwa1608@>
> >wrote:
> > --- In firebird-support@yahoogroups.com, "Adam" <s3057043@>
> > >it
> > > > I set the AUTOCOMMIT property of the transaction to TRUE and
> > > > works. When the second user wants to open the same recordthe
> > firstuse
> > > > user already opened, I give a message that the record is in
> > andrecord
> > > > disable the save-functionality. I administer who locks a
> > in a(which is
> > > > separate table. This solution works, but how do you pro's
> > consider
> > > > this? A dirty solution???
> > >
> > > Absolutely a dirty solution. If it works with AutoCommit
> > justis
> > > an implicit commit then start transaction after each statement
> > run),(Read
> > > then it has to be a transaction isolation issue.
> > >
> >
> > Ooopsss, so this is a wrong choice.
> > What is the right setting for the isolation level? I tried RU
> > uncommitted) and that seemed to work to.helicopters
>
> Read uncommitted (dirty reads) is even worse. It is a hack used by
> primitive DBMS to actually allow any sort of reporting on a OLTP
> system (grabs tin foil hat and dives under table as black
> swarm overhead).After some testing, I discovered what Read Uncommitted did. I
>
> I don't think read uncommitted even works in Firebird, so I am not
> sure what your ODBC is doing to simulate it.
>
> I don't use ODBC so I use mostly snapshot (repeatable read) or
> occasionally read committed depending on what I am doing.
>
stopped using it right away.
I set the NOWAIT option in the ODBC setting, and that seems to work.