LEDGE-218: use validation query appropriate for HSQLDB