@SuppressWarnings("unchecked")
public String createSchemaSQLForEntitiesInModelAndOptions(NSArray<EOEntity> entities, EOModel model, NSDictionary optionsCreate) {
EOEditingContext ec = ERXEC.newEditingContext();
ec.lock();
try {
EODatabaseContext databaseContext = databaseContextForModel(model, (EOObjectStoreCoordinator) ec.rootObjectStore());
// AK the default implementation loads the shared objects, and when
// they don't exist, throw an an error
// which is not very useful for schema generation
// But you would probably want to exit soon after calling this....
// EODatabaseContext databaseContext =