Re: Catching a Database Connection failure exception?
Re: Catching a Database Connection failure exception?
- Subject: Re: Catching a Database Connection failure exception?
- From: Chuck Hill <email@hidden>
- Date: Mon, 10 May 2004 10:06:26 -0700
This is /should be automatically handled by the EOF frameworks. The
plugin for some databases might not implement this, I think that is
where the logic is. I've also seen running out of memory cause
problems with _obtainOpenChannel. Not much you can do in that case
other than terminate.
Chuck
On May 10, 2004, at 6:54 AM, email@hidden wrote:
Hello Kieran,
On 7 May 2004, at 19:09, Kieran Kelleher wrote:
I have been searching the docs but not found info on this.
I want to implement an exception handler for the situation where the
database server is unavailable and/or the connection fails. What is
the exception to handle, what is the handler method I need to
implement and where do I put it (Application?) ??
Did you see the documentation for EOAdaptor.handleDroppedConnection()?
Would that suit your needs?
Cheers,
-- Denis.
Thanks in advance, Kieran
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.