rs = stat.executeQuery("select currTid2('x', 1)");
rs.next();
assertEquals(1, rs.getInt(1));
rs = stat.executeQuery("select has_table_privilege('TEST', 'READ')");
rs.next();
assertTrue(rs.getBoolean(1));
rs = stat.executeQuery("select has_database_privilege(1, 'READ')");
rs.next();