change all queries on @NamedQuery