3 Replies Latest reply on Mar 9, 2005 10:28 PM by Kabir Khan


    Manuel Beyeler Newbie

      Is there already support for named queries?

      If there is so, how do I use them? So far I can't get it working. I always get an "org.hibernate.MappingException: Named query not known: userByName" even if the NamedQuery is defined in an @NamedQuery Annotation at the method I try to access it.

      Just a note to Specification compatibility. The @NamedQuery Annotation in preview 4 has not all required attributes and one has a wrong name (ejbql instead of queryString