iphone - Synchronize Core Data with SQL or MySQL Via SQLite -


I am trying to create an iPhone application using core data created in table management. I want to synchronize the data with an MSSQL or MySQL database. Core data is consistent with SQLite, so I thought it could work as a bridge. Can someone think of how this functionality can be achieved?

You are thinking about this wrong thinking, "Implementation" is not compatible with the CoreData SQLite Its a banking store type using SQLite as a description. The actual content of that SQLite DB is undocumented and internal to CoreData. This is a key point, you can not use an arbitrary SQLite3 DB with CoreData, CoreData creates a SQLite3 DB for a particular model.

If you want to sync data from another DB in CoreData, then you need a query that you get DB, feedback data, then create and update NSManagedObjects based on that data. The exact description of this (depending on the exact nature of the server) with a DB client library, a webservice and an app server with a DB client libraries embedded in your app) And how do you want to interact with it, but you will not be syncing around the SQL table under the core data and CDs magically work by describing the table layout, the update needs to go through the standard codeata interface, like somebody Other Object Manipulation


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -