/usr/lib/libreoffice/program/classes/hsqldb.jar is in libreoffice-sdbc-hsqldb 1:5.1.2-0ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libreoffice/program/classes/../../../../share/java/hsqldb1.8.0.jar