[jboss-user] [JBoss Seam] - Re: SeamLoginModule EntityManager injection difficulties

fernando_jmt do-not-reply at jboss.com
Fri Feb 23 12:38:32 EST 2007


Ttry with this:

  |  @In(create=true)
  |    private EntityManager entityManager;
  | 

Or

Do you have configured the persistence context in your components.xml, like this:

  | <core:managed-persistence-context name="entityManager" auto-create="true"                persistence-unit-jndi-name="java:/...EntityManagerFactory"/>
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021226



More information about the jboss-user mailing list