Subject | Re: [Firebird-Java] Re: Transaction concurrency |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-01-11T14:19:35Z |
> I absolutely don't understand what specifying a table to reserve inTPB - Transaction Parameter Buffer, more info you will find in "API
> TPB means (don't even know what TPB is...)
Reference" for InterBase 6.0 (so-called, old documentation).
> Do I need that? :)In theory - yes.
> I'm a never draining well of questions:Depends on the TPB. IIRC in default TPB mapping it will wait. You can
> Does transaction serializable throw an exception or waits until the
> lock releases?
configure it to get an exception.
> If it throws an exception, how can I tell from that exception (inYou have to find the appropriate error code (best would be to reproduce
> java), that it's not a consistensy error, just some transaction
> isolation thingamijig?
exactly that error condition and save the SQLException.getErrorCode() value)
Roman