Hi everybody,
I need to write to a sqlite database containing tables with foreign keys constraints, but FME seems not to enforce the foreign_keys pragma directive when connecting to the database. I discovered this by running a
pragma foreign_keys;
query against the database with an SQLCreator (it returned 0).
This is obviously a problem, because in this way the SQLite Writer can insert records that violate referential integrity.
Is there a way to make the SQLite Writer execute the
pragma foreign_keys = 1;
directive before start writing?
Any suggestion is welcome!
Thanks