[NUCRDBMS-819] Add HSQL-specific handler for getSecond with cast to
INTEGER