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";
Perhaps its not created yet.
Use COmponent.getInstance(name) instead.