[jboss-user] [JBoss Seam] - access the seam managed PersistenceContext in a @Startup obj
zdaler
do-not-reply at jboss.com
Tue Apr 17 10:55:18 EDT 2007
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
More information about the jboss-user
mailing list