This is my bean:

  | @Name("myBean")
  | @Scope(ScopeType.PAGE)
  | public class MyBean implements Serializable {
  | 
  | @In (create=true)
  | EntityManager entityManager;
  |     
  | ...
  | 

I understood that the cause is because the short session of the entityManager 
session but as it is a seam component (and not an EJB), how can I extend the 
persistence context?

Is there some way as for long-running conversations?

or have I to use EJB?

Thanks

Demetrio Filocamo

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

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

Reply via email to