Re: Determining database plugin at runtime
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.
|
_______________________________________________
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