Simple question (I think :-)). Can the Core Data framework be used to target relational databases other than SQLite? All mention I've seen of the framework so far would tend to suggest it is used to talk to XML persistence stores or SQLite databases. Is it really that inflexible, or can it be extended to talk to other persistence mechanisms?
|
closed as off topic by Am1rr3zA, Dori Oct 7 '10 at 22:35
Questions on Ask Different are expected to relate to Apple hardware or software within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
I think this is more a Programming Question and I suggest you go to Stack Overflow for better results. That said, a simple search for CoreData + MySQL (to use an alternative DB as an example) throws a few responses in google. One of them, a Stack Overflow question that asks if this is possible. Short Answer: No. You can’t use another persistence mechanism with CoreData, since you’re not really accessing the underlaying storage, but using the framework as a front end to access it. Wikipedia has also something to say about this:
With that being said, however, there are tricks to SYNC a MySQL Database (or other) with the CoreData model, but that is beyond the scope of the question and it’s probably going to be better answered in Stack Overflow. |
|||
|
|