Hi,

when I lose the connection to the database, I want to close/release the connection and let OJB try to reestablish it. I haven't figured out yet, how to do it. I am using the PB API. At the moment, when I shut down the data base server, I get:

[SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error

which is OK. I then use broker.clearCache() to discard any cached objects. Now if I restart the data base, the problem remains in the application. How do I close the connection in this case?

I tried:
broker.serviceConnectionManager().releaseConnection();

but this was without any effect

Any help is appreciated.

Thanks in advance
Bernd

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

Reply via email to