• 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: new EOObjectStoreCoordinator and closing database connection afterwards
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new EOObjectStoreCoordinator and closing database connection afterwards


  • Subject: Re: new EOObjectStoreCoordinator and closing database connection afterwards
  • From: "Lon Varscsak" <email@hidden>
  • Date: Tue, 1 Jul 2008 22:05:00 -0700

This is the connection I assumed wasn't closing, but Klaus would have to chime in.  I'm using:

new ERXEC(new ERXObjectStoreCoordinator(true));

in one specific instance and calling dispose() when I'm done (on the OSC) seems to do the trick (closes both connections properly).

I pointed Klause to ERXEOAccessUtilities.closeDatabaseConnections which is what I believe does the trickery (called from OSC's dispose method).

But maybe I misunderstood the problem. :)

Lon

On Tue, Jul 1, 2008 at 9:41 PM, Mike Schrag <email@hidden> wrote:
>>>>
>>>> I would look at Wonder source and see what trickery is being used to implement this fix.
>>>
>>> I don't think we close ... The OSC pool in Wonder is designed to be round-robin'ed across requests and never needs to close.
>>
>> I recall a discussion from a while ago that actually getting EOF to close the connection is difficult / impossible.  I have never needed to (see Mike's comment above), so I have never looked into it.
>
> Maybe you're referring to the jdbc2Info connection?  It's not impossible, but it is very tricky.  I don't THINK this is his problem here, though.
>
> ms
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: new EOObjectStoreCoordinator and closing database connection afterwards
      • From: Klaus Berkling <email@hidden>
    • Re: new EOObjectStoreCoordinator and closing database connection afterwards
      • From: "Lon Varscsak" <email@hidden>
References: 
 >new EOObjectStoreCoordinator and closing database connection afterwards (From: Klaus Berkling <email@hidden>)
 >Re: new EOObjectStoreCoordinator and closing database connection afterwards (From: "Lon Varscsak" <email@hidden>)
 >Re: new EOObjectStoreCoordinator and closing database connection afterwards (From: Mike Schrag <email@hidden>)
 >Re: new EOObjectStoreCoordinator and closing database connection afterwards (From: Chuck Hill <email@hidden>)
 >Re: new EOObjectStoreCoordinator and closing database connection afterwards (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: new EOObjectStoreCoordinator and closing database connection afterwards
  • Next by Date: Re: new EOObjectStoreCoordinator and closing database connection afterwards
  • Previous by thread: Re: new EOObjectStoreCoordinator and closing database connection afterwards
  • Next by thread: Re: new EOObjectStoreCoordinator and closing database connection afterwards
  • Index(es):
    • Date
    • Thread