named query, and use same hashtable for QN