Intellij 10.5 not finding named query

Using Spring and Hibernate.  Whenever I reference a named query like this: Query q = getSession().getNamedQuery("Purchase.FindById");  IntelliJ underlines it in red and says that it cannot find it. How can I fix this?  Thanks

Please sign in to leave a comment.