Subject | Re: [Firebird-Java] Re: Transaction concurrency |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-01-11T15:08:33Z |
> I haven't the foggiest how to do that from Java, but the FirebirdWe have currently no method to table reservation in JayBird, only "standard"
> transaction parameter block allows specification of "reserving"
> tables -- w/ exclusive locks -- before starting the transaction.
> Sounds like exactly what you need. Now, how to get at it? Roman?
params for TPB (like isc_tpb_wait, etc). Feature request for next version (I
think I can create JayBird 1.5.6 pretty easy).
But, Jim, if I understand documentation correctly, if table is not reserved
on transaction start, the the first who modifies the table wins the lock,
rest should wait/get exceptions. Is this correct?
Roman