简体   繁体   English

iOS - 使用 Java 编辑 CoreData SQLite DB

[英]iOS - Edit CoreData SQLite DB with Java

Is it possible to edit a CoreData SQLite database created by CoreData itself with Java?是否可以使用 Java 编辑由 CoreData 本身创建的 CoreData SQLite 数据库? The problem I see is the relationships between tables... is there a library?我看到的问题是表之间的关系......有图书馆吗?

Thanks谢谢

Sure, it's a SQLite database and can be opened and edited by any tool that understands SQLite 3. The problem is that the table schema is undocumented and rather opaque, especially as you guessed when it comes to relationships.当然,它是一个 SQLite 数据库,可以通过任何理解 SQLite 的工具打开和编辑 3. 问题在于表模式没有记录并且相当不透明,尤其是当涉及到关系时,你猜到了。 Editing the tables is generally not advisable, though occasionally it can be useful to inspect them.通常不建议编辑表格,尽管偶尔检查它们可能很有用。 There are Mac OS X apps that will open a Core Data store if you provide a managed object model (eg http://christian-kienle.de/CoreDataEditor/ ) but that relies on the Mac's built-in Core Data library.如果您提供受管理的 object model(例如http://christian-kienle.de/CoreDataEditor/CoreDataEditor ),则有 Mac OS X 应用程序将打开 Core Data 存储。

What are you actually trying to accomplish here?你到底想在这里完成什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM