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:
@Name("employeeList")
public class EmployeeList extends EntityQuery
{
    @Override
    public String getEjbql() 
    { 
        return "select employee from Employee employee order by lastname";
    }
}


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056946#4056946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056946
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to