1 Reply Latest reply on Jun 22, 2007 12:36 PM by Gavin King

    Component lookup by @Name fails

    C B Newbie

      i would like to lookup my EntityQuery component that should be registered under @Name("employeeList") using Contexts.lookupInStatefulContexts("employeeList") but i alway get null as a return value.

      what am i doing wrong?

      i have the following simple entity query:
      public class EmployeeList extends EntityQuery
      public String getEjbql()
      return "select employee from Employee employee order by lastname";