I have created a new issue regarding the trailing zeros problem and have merged the fix in for this problem, which as I mentioned, is far worse than the trailing zeros
The fix, using hsqldb’s sql.enforce_strict_size=false option has been added to 5.4.3.10-SNAPSHOT and 6.0.0.542-SNAPSHOT (note the current 6 SNAPSHOTs spit out a lot of console debugging)
I think this should solve this problem as well, please test thoroughly and report back