Re: importing existing sqlite database to core data
Re: importing existing sqlite database to core data
- Subject: Re: importing existing sqlite database to core data
- From: Jim Correia <email@hidden>
- Date: Sun, 3 Sep 2006 13:51:51 -0400
On Sep 1, 2006, at 8:02 PM, kyle kinkade wrote:
I have a sqlite database for an application that i have writtenly
previously. I'm in the process of making a mac version of this
application and would like to use the sqlite database i have with
coredata. Is there any way to do this? Or am I stuck making a nasty
transition. I'd like to use core data, but if I have to I'll just
use a sqlite wrapper instead.
When you use CoreData with SQLite, CoreData "owns" the database
schema. You cannot use your existing database as a CoreData SQLite
store.
Your choices are to continue to use an SQLite wrapper, or migrate
your legacy data into a CoreData manged store (the same way you would
if it had originated from any file format - that it is currently in
an sqlite database doesn't help or hinder this process.)
Jim
_______________________________________________
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