• 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: Sqlite and Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sqlite and Core Data


  • Subject: Re: Sqlite and Core Data
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 16 Oct 2009 21:00:42 -0700


On 2009 Oct 16, at 19:43, Thomas Hart wrote:

Can I use Core Data to access the sqlite database that I've created?

Anything can be done, given infinite design and product-maintenance resources. Let me re-phrase your question:


Question:  Is there any chance that this might be a practical approach?

Answer:  No.

If I can't use Core Data to access sqlite, do I need to migrate the data to be a persistent store, and are there tools to do that?

You said that your databases are in Postgres and MySQL, and then later sqlite. You will need a library of functions to read these databases, extracting the records and their field values -- strings, numbers, etc. I've never used Postgres and MySQL on the Mac, but I have used the sqlite3 that ships in Mac OS X. You can call sqlite3 library functions to create, read, and write sqlite databases.


However, sqlite and Core Data are not practically interoperable at any level lower than the records and their field values.

_______________________________________________

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


References: 
 >Sqlite and Core Data (From: Thomas Hart <email@hidden>)

  • Prev by Date: Re: OK/Cancel buttons on NSColorPanel
  • Next by Date: Re: File Encryption / Decription
  • Previous by thread: Sqlite and Core Data
  • Next by thread: Re: Sqlite and Core Data
  • Index(es):
    • Date
    • Thread