Hi Michael,

----- Original Message -----
From: "Michael Buchsbaum" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 2:08 PM
Subject: Connection Pool


> Has anyone had any problem with the connection pool crashing when
doing
> large updates with relationships?

AFAIK you are the first.

> I'm using MySQL.  I get the error message
> "Borrow broker from pool failed"

Not the connection pool, the PersistenceBroker pool
crashed.
When using the PB-api, do you close the
broker after use?

e.g.
PersistenceBroker broker;
{
broker  = PersistenceBrokerFactory.createPersistenceBroker(myPBKey);
...
do something
....
}
finally
{
// return broker instance to pool
if(broker != null) broker.close();
}

This isn't the problem? Then some more
details would be useful.

regards,
Armin
>
> Thanks
> Michael
>
>
> ---------------------------------------------------------------------
> 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