1 package org.domain.seamtutorial.session;
   2 
   3 import org.jboss.seam.annotations.Name;
   4 import org.jboss.seam.framework.EntityQuery;
   5 import org.domain.seamtutorial.entity.MyEntity;
   6 
   7 @Name("myEntityList")
   8 public class MyEntityList extends EntityQuery<MyEntity>
   9 {
  10     public MyEntityList()
  11     {
  12         setEjbql("select myEntity from MyEntity myEntity");
  13     }
  14 }