Re: How can I update SQLite version within XCode 2.0/Cocoa?
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