On Jul 10, 2009, at 9:24 AM, Mr. Frank Cobia wrote:

I have created a MySQL plugin so that I can take advantage of some of MySQLs features and I want to set it as the default plugin for MySQL. I know I need to call JDBCPlugIn.setPlugInNameForSubprotocol(), but even if I put it in my application constructor just below super(), the standard plugin is used before that line of code gets executed.

I also noticed that the EROraclePlugin has an EROraclePluginClass with a static constructor, but what causes that to get called?

NSPrincipalClass.


Is there a way to do what I want?


Either set it in the connection dictionary of the model, or define NSPrincipalClass in your framework. The latter can have some problems as EOF comes with a competing bundle. The FrontBase plugin in Wonder handles this, somehow, but I forget how.

Chuck


--
Chuck Hill             Senior Consultant / VP Development

Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east

http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to