Re: Using existing SQLite database with core data?
Re: Using existing SQLite database with core data?
- Subject: Re: Using existing SQLite database with core data?
- From: Chris Hanson <email@hidden>
- Date: Mon, 7 Apr 2008 12:10:44 -0700
On Apr 7, 2008, at 1:50 AM, Quincey Morris wrote:
On Apr 7, 2008, at 00:51, mmalc crawford wrote:
To reiterate, there is no reason *in principle* why Core Data could
not do this.
Indeed, there's no reason in principle why Core Data could not be EOF.
Yet a core principle of Core Data is its abstraction of the model
away from the structure of the various persistent store formats.
Core Data already offers the ability for developers to use an
arbitrary schema for a persistent store: You can subclass
NSAtomicStore and use it to implement any schema you like for your
persistent stores, with the constraint that you will get atomic load/
save semantics instead of transactional load/save semantics.
This does not in itself let you use an arbitrary database schema with
an SQLite persistent store. But it does demonstrate that doing so
would not be an abandonment of any principles that you seem to have
inferred.
-- Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden