[jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT
petemuir
do-not-reply at jboss.com
Thu Jul 20 04:18:50 EDT 2006
Perhaps
"c_eric_ray" wrote :
| | @Stateful
| | @Name("package")
| | public class PackageAction implements Package {
| |
| | @DataModel
| | private List<PackageEntity> packages;
| |
| | @PersistenceContext(unitName="DC")
| | private EntityManager em;
| |
| | public PackageAction() {}
| |
| | // @Begin(join=true) @Create
| | @Factory("packages")
| | // @Begin(join=true) // if you want AS Well
| | public void load() {
| | packages = em.createQuery("from PackageEntity").getResultList();
| | }
| |
| | @Destroy @Remove
| | public void destroy() {}
| | }
| |
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959467#3959467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959467
More information about the jboss-user
mailing list