Hi Tom,

do all odmg junit tests pass?
Now OJB is more strict in handling PB instances.
If PB.close() was called on a given instance no further
method calls can be done. Your sample
code seems ok, thus it sounds like a bug.

regards,
Armin

----- Original Message -----
From: "Thomas Dudziak" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 3:27 PM
Subject: IllegalStateException in DelegatingPersistenceBroker.getBroker


> While doing a OMDG query like this (after some other committed
> transactions):
>
> OQLQuery queryObj = _odmg.newOQLQuery();
> String   query    = ... // some basic select
>
> _tx.begin();
> queryObj.create(query);
> DList result = (DList)queryObj.execute();
> _tx.commit();
>
> I get an IllegalStateException thrown in
> DelegatingPersistenceBroker.getBroker() while the query executes. When
> debugging I can see that in the execute method the collection is
correctly
> retrieved but the following locking (performLockingIfRequired)
seemingly
> tries to use an already closed broker.
> Any idea what might cause this ?
>
> BTW, I use the CVS version from August 1st with MySQL.
>
> Thanks,
> Tom
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to