• 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: Schema Synchronization "magic" - resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Schema Synchronization "magic" - resolved


  • Subject: Re: Schema Synchronization "magic" - resolved
  • From: Aaron Rosenzweig <email@hidden>
  • Date: Thu, 17 Aug 2006 23:11:39 -0400

Hello WOFriends,

Ok, sorry, a few minutes after composing the prior message I had an epiphany.

I realized there is an "Apple" MySQLPlugin:

http://developer.apple.com/documentation/WebObjects/Reference/api/com/webobjects/jdbcadaptor/MySQLPlugIn.html

Then, I read:

"JDBCPlugIn is used to customize the JDBCAdaptor for a particular database and its JDBC driver. The JDBCPlugIn for a model can be specified in the model's connection dictionary. *****If it's left unspecified, the adaptor takes a guess.*****"

This tidbit was found at the top of this link:

http://developer.apple.com/documentation/WebObjects/Reference/api/com/webobjects/jdbcadaptor/JDBCPlugIn.html

The adaptor takes a guess! aha! it must guess that I'm using MySQL and it finds the Apple plugin for me, but where is this plugin?

com.webobjects.jdbcadaptor.MySQLPlugIn

I took a guess delved into "javajdbcadaptor.jar". Low and behold, that is where all the Apple made plugins live.

It doesn't look TOO hard to make a new JDBC adaptor for a particular database. Seems like Apple has really thought things out well and provided a bunch of cookie cutter methods that simply need to be implemented. It will take some time, and testing, but looks very doable (not rocket science). I still get goose bumps every day that I use WebObjects :-)

Has anyone started (or finished) this task for Firebird?

-- Aaron

http://lasvegas.roadmarketing.net/

http://www.jewelryluv.com/

http://www.cocoanutstech.com/


 _______________________________________________
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: Schema Synchronization "magic" - resolved
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Schema Synchronization "magic"
  • Next by Date: Re: Schema Synchronization "magic" - resolved
  • Previous by thread: Re: Schema Synchronization "magic"
  • Next by thread: Re: Schema Synchronization "magic" - resolved
  • Index(es):
    • Date
    • Thread