The current HSQLDBDialect.java code in master branch is correct for both NUMERIC and DECIMAL SQL types.