• 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: Determining database plugin at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining database plugin at runtime


  • Subject: Re: Determining database plugin at runtime
  • From: Paul Hoadley <email@hidden>
  • Date: Sun, 31 Mar 2013 11:10:48 +1030

On 31/03/2013, at 7:33 AM, Matthew Ness <email@hidden> wrote:

EOModelGroup group = EOModelGroup.defaultGroup();
EOModel model = group.modelNamed("YourModel");
EOAdaptor ad = EOAdaptor.adaptorWithModel(model);
log.debug("adaptor cd:"+ad.connectionDictionary());
log.debug("adaptor pi:"+ad.plugInName());

Thanks Matt.  Just what I needed.


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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: 
 >Determining database plugin at runtime (From: Paul Hoadley <email@hidden>)
 >Re: Determining database plugin at runtime (From: Matthew Ness <email@hidden>)

  • Prev by Date: Re: Determining database plugin at runtime
  • Next by Date: Re: Determining database plugin at runtime
  • Previous by thread: Re: Determining database plugin at runtime
  • Next by thread: Re: Determining database plugin at runtime
  • Index(es):
    • Date
    • Thread