getPrimaryKeys function fails

(CR #477510) The JDBC function getPrimaryKeys returns zero result rows.