(liboffice 6.1.x) Parameter index out of range

(translated from Italian to English with google translate; I apologize)

with the upgrade from liboffice 6.0.x to 6.1.6.3 I encountered this problem:
The odt files that contain forms connected with the java driver to mysql give this error message:

Parameter index out of range (1> number of parameters, which is 0).

Here a solution: edit the content.xml file inside the odb file
This solves the problem for the forms inside the odb file, but not for the odt or ods files that contain forms connected to an odb file.
The problem does not occur if the odb file connects mysql via ODBC.
What can I do?
Thank you very much for helping
(I use Libreoffice 6.1.6.3, and I connect to mysql with mysql-connector-java-3.0.16-ga-bin.jar on win 10. The Java runtime environment is 1.8.0_221)

Best to file as a new bug - Bugzilla