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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to