[jboss-user] [JBoss Seam] - Re: EntityManager always Null (Using Jboss, Seam)
kasim
do-not-reply at jboss.com
Fri Nov 10 08:31:44 EST 2006
thats not really the way you set the entity manager
You need to use the persistence context annotation to create it. (extended type is optional)
@PersistenceContext(type=EXTENDED)
private EntityManager em;
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984875#3984875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984875
More information about the jboss-user
mailing list