Is it possible to generate a .xcdatamodel (CoreData data model) from an existing SQLite database file?
I\'ve developed a SQLite database and written a Java API again
Try the following tool which wil generate the Datamodel from existing Sqlite
https://github.com/tapasya/Sqlite2CoreData
See How do I use my existing SQLite database with Core Data? and Efficiently Importing Data. I understand that you're not asking specifically about using the entire database but just creating the model, but you have to understand that there's not a 1-1 relationship between an existing SQLite database and what Core Data wants to store.
No. Core Data is not just a thin wrapper around SQLite. It's an object store that can (optionally) be persisted to a SQLite database. This means that Core Data models do not have a direct mapping to the SQLite database.
In your case I'd recommend using one of the SQLite wrappers that are available (I've not used any of them so I couldn't recommend any one in particular).