I tried to compile the dvelopment version of HSQLDB and found that kaffe's java.sql package is too old to do so. So I downloaded GNU classpath's java.sql package and replaced all kaffe's java.sql.*. The result was satisfactoy to me. Some of kaffe's java.sql sources were already taken from GNU classpath, but I suggest the whole java.sql package be copied from GNU claspath.