[jboss-user] [JBoss Seam] - Test seam

yoav200 do-not-reply at jboss.com
Thu Jan 18 03:50:19 EST 2007

i have an EJB that uses entityManager.
the entityManager is injected throw seam.
on my application every thing works fine,
the persistence.xml define the DS and the entityManager JNDI lookup,
the component is created by seam as defined in the components.xml.

in my EJB i have this:

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

when i write test for the ejb i get exception, 
how can I make my test work?

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

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

More information about the jboss-user mailing list