• 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: importing existing sqlite database to core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >importing existing sqlite database to core data (From: kyle kinkade <email@hidden>)

  • Prev by Date: Re: Mail-like glossy buttons
  • Next by Date: Cocoa newbie needs direction
  • Previous by thread: importing existing sqlite database to core data
  • Next by thread: Capture screen in Cocoa
  • Index(es):
    • Date
    • Thread