Subject | RE: [IBO] LockSQL |
---|---|
Author | Helen Borrie |
Post date | 2001-10-16T12:29:52Z |
At 01:57 PM 16-10-01 +0200, Riho-Rene Ellermaa wrote:
Possibly a joined dataset that doesn't have its keylinks fully resolved...
rgds,
Helen
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>But is there something wrong with my query? Why can't the LockSQL beYou didn't supply Keylinks; or you supplied Keylinks that don't uniquely identify the row.
>generated?
Possibly a joined dataset that doesn't have its keylinks fully resolved...
rgds,
Helen
> >All for Open and Open for All
> > Yes, you should create it yourself if IBO cannot determine it for you.
> >
> > Jason Wharton
> > CPS - Mesa AZ
> > http://www.ibobjects.com
> >
> >
> > ----- Original Message -----
> > From: "Riho-Rene Ellermaa" <r.ellermaa@...>
> > To: "IBObject (E-mail)" <IBObjects@yahoogroups.com>
> > Sent: Tuesday, October 16, 2001 4:03 AM
> > Subject: [IBO] LockSQL
> >
> >
> > > It's hard to get the answer.
> > >
> > > When my app gets error "Unable to initialise default LockSQL", then
> > should
> > > I create it myself? I want to disable users possibility to
> > edit the record
> > > from 2 places simultaneously.
> > >
> > > Query:
> > > SELECT id,(select account from account a where
> > a.id=dom_pay.accid) as
> > > accountno
> > > , ACCID
> > > , STATUS
> > > , BBANK
> > > ...
> > > , VER
> > > , SIGN1
> > > , SIGN2
> > > , BANK
> > > FROM account
> > > join dom_pay on account.id=dom_pay.accid
> > > where uid=:UID and install=:INST
> > > for update
> > >
> > > KeyLinks:
> > > ID
> > > ACCID
> > > STATUS
> > >
> > > PessimisticLocking=true
> > > Keylinksautodefine =false (was true - same results)
> > >
> > > How can I make the IBO4.2Eb to create LockSQL automatically?
> > >
> > > Riho-Rene Ellermaa
> > > senior programmer
> > > Hansabank
> > >
> > >
> > >
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________