A while ago, I was sent OpenOffice-related patches for hsqldb (#316937). These don't apply anymore and some cursory inspection makes me doubt their usefulness. I have uploaded a new hsqldb version to experimental just now without those patches. I invite you to check whether that version works for you and submit updated patches if necessary.