Hi Lars,
Thanks very much for putting me right there.
For anyone else having this issue be aware (at least in my experience) that I had to provide both the schema and the full package path of the sequence in the INSERT. Note the schema and package path in double quotes ("), and schema, package path and nextval seperated by period. For example:
query = 'INSERT INTO "abc.def.data::log" values("<SCHEMA>"."abc.def.data::logId".nextval,?,?,?,?,?,?,?,?,?,?,?,?,?)';