0 Replies Latest reply on Sep 28, 2005 6:57 AM by Andrew Iggleden

    Whats wrong with this namedquery ?

    Andrew Iggleden Newbie

      This query works when I do a CreateQuery but when trying it as a namedquery it fails with a "could not resolve property:" error on deployment.

      @NamedQuery(name="findCustomer", queryString="SELECT OBJECT(c) FROM CustomerCMP c where c.name = :name")