Subject Re: [Firebird-Java] Re: Jaybird 'object in use' error adding ref integrity constraint
Author Nickolay Samofatov
Hello Roman,

Tuesday, October 01, 2002, 2:41:58 PM, you wrote:

> Hi,

> Can you post either code or just a sql script you're trying to
> execute? This will safe us efforts in reproducing the bug.

> Thanks in advance,
> Roman Rokytskyy

It is very possibly related with isc_tpb_consistency mode if it is
used.

To Rashid:
Try using TRANSACTION_REPEATABLE_READ isolation mode if you are using
TRANSACTION_SERIALIZABLE... Is problem persists ?

> --- In Firebird-Java@y..., Rashid Motala <rashidm@i...> wrote:
>> Further to this:
>>
>> Running the query the first time gives the error as mentioned
> before...
>> java.sql.SQLException: Error during autocommit:
>> javax.resource.ResourceException: couldn't commit local transaction:
>> javax.transaction.xa.XAException: unsuccessful metadata update
>> object CARD_QUERY is in use

There is another error in the core which can cause such message (I
expect to fix it soon), but I'm pretty sure it is not this case.

--
Best regards,
Nickolay mailto:skidder@...