• 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: Using existing SQLite database with core data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using existing SQLite database with core data?
      • From: Quincey Morris <email@hidden>
References: 
 >Using existing SQLite database with core data? (From: Peter Zegelin <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: Quincey Morris <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: mmalc crawford <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: Quincey Morris <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: mmalc crawford <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: Peter Zegelin <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: mmalc crawford <email@hidden>)
 >Re: Using existing SQLite database with core data? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Newbie question
  • Next by Date: Re: ImageIO key properties
  • Previous by thread: Re: Using existing SQLite database with core data?
  • Next by thread: Re: Using existing SQLite database with core data?
  • Index(es):
    • Date
    • Thread