• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Catching a Database Connection failure exception?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Catching a Database Connection failure exception? (From: Kieran Kelleher <email@hidden>)
 >Re: Catching a Database Connection failure exception? (From: email@hidden)

  • Prev by Date: Re: AppleScript from WO
  • Next by Date: Re: Letting a user see only the data they should.
  • Previous by thread: Re: Catching a Database Connection failure exception?
  • Next by thread: WO WebServices in Tomcat
  • Index(es):
    • Date
    • Thread