complete version for HSQLDB