I'm trying to access the seam managed persistence context inside a seam POJO  
declared as @Startup.
When the object is created the inject seam managed persistence context is null

        @In
  |     private EntityManager em;
  | 

Is there a way to do that (basically I need to schedule some maintenance 
related operations at startup time ... and those operations must access the 
database ...) ?

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

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

Reply via email to