[jboss-user] [JBoss Seam] - Component lookup by @Name fails

cba2 do-not-reply at jboss.com
Fri Jun 22 12:26:21 EDT 2007


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



More information about the jboss-user mailing list