Error: insertHistoricVariableInstance (batch index #1) failed

You can configure logging to print all SQL statements made by the engine to the log file as described here: Support for Hana database - #2 by thorben. This will also output the parameters.

Cheers,
Thorben