• 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: Different Database Connection per session for the same model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different Database Connection per session for the same model


  • Subject: Re: Different Database Connection per session for the same model
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 18 Jun 2012 10:09:40 -0700

You might find this helpful

http://developer.apple.com/legacy/mac/library/#documentation/WebObjects/Enterprise_Objects/Connecting/Connecting.html#//apple_ref/doc/uid/TP30001011-CH210-BEDGBJJC

Although some of the information there (providing multiple database channels) is wrong.

databaseContextWillRunLoginPanelToOpenDatabaseChannel also looks to be of interest:

https://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EODatabaseContext.Delegate.html#databaseContextWillRunLoginPanelToOpenDatabaseChannel(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eoaccess.EODatabaseChannel)

I don't think I've heard of anyone doing something like this on the list, except maybe Larry :-)

Ramsey

On Jun 18, 2012, at 9:32 AM, Paul Dunkler wrote:

> Hi List,
>
> is there any way to have different database connections per session? I need this in an application for giving the user the ability to change between several different copies of the database to work on.
>
> I always tried to copy EOModels and so on, read some mails from the list but not really found an answer for that problem. I know that what i trying to do will cause a bit memory overhead but i do not want to provide ~25 applications just because they need different database connections.
>
> Would be nice to get some suggestions...
>
> --
> With best regards
> Paul Dunkler
> _______________________________________________
> 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


 _______________________________________________
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

References: 
 >Different Database Connection per session for the same model (From: Paul Dunkler <email@hidden>)

  • Prev by Date: Re: Different Database Connection per session for the same model
  • Next by Date: Re: Different Database Connection per session for the same model
  • Previous by thread: Re: Different Database Connection per session for the same model
  • Next by thread: Re: Different Database Connection per session for the same model
  • Index(es):
    • Date
    • Thread