• 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: How can I update SQLite version within XCode 2.0/Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I update SQLite version within XCode 2.0/Cocoa?


  • Subject: Re: How can I update SQLite version within XCode 2.0/Cocoa?
  • From: Nicko van Someren <email@hidden>
  • Date: Tue, 17 May 2005 23:12:35 +0100

On 17 May 2005, at 22:40, Scott Stevenson wrote:
On May 16, 2005, at 10:49 AM, Daniel Lyons wrote:
I'm not sure what your goal is, but I wouldn't bother with trying to get Core Data to try to use a different version of SQLite.

What about a traditional RDBMS instead, like PostgreSQL? Is that possible?

Not natively/easily, no.

I've been delving around inside the CoreData.framework and it's clear that Apple have designed the code to be able to support different types of database in the future. All the mapping between CoreData and SQL sits above an NSSQLAdapter class which currently has just one subclass, NSSQLiteAdapter, which (re)implements just nine methods. SQL statements are prepared in an NSSQLStatement which is subclassed by the NSSQLiteStatement which implements just three messages (dealloc and a pair for handling statement caching).


If I didn't have a day job I'd delve in with a debugger and see about hacking up a replacement but to be honest the interface looks sufficiently clean that Apple will either open up the specification once they think that it is stable enough to be public or they will release it to serious developers under NDA.

    Nicko


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How can I update SQLite version within XCode 2.0/Cocoa? (From: "Frederick C. Lee" <email@hidden>)
 >Re: How can I update SQLite version within XCode 2.0/Cocoa? (From: Scott Stevenson <email@hidden>)
 >Re: How can I update SQLite version within XCode 2.0/Cocoa? (From: Daniel Lyons <email@hidden>)
 >Re: How can I update SQLite version within XCode 2.0/Cocoa? (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: Building with XCode 2 for Jag and Panther
  • Next by Date: DidFinishLaunchingNotification vs openFile
  • Previous by thread: Re: How can I update SQLite version within XCode 2.0/Cocoa?
  • Next by thread: Manually Editing Preferences
  • Index(es):
    • Date
    • Thread