6 Replies Latest reply on Dec 18, 2012 10:26 AM by meewan

    Seam2.3 entityManager is always NULL

    meewan Newbie

      Hello,

       

      I actuelly migrate an application from jboss 4.2.2/seam 2.1/richfaces 3.3.0 to jboss7.1.1/seam2.3.0/richfaces4.2.3  and I my entityManager is always null.

       

      After the end of the depployment of Jboss I call entitymanager with

       

        @In

        protected EntityManager     entityManager;

       

      but when I try to read it it is null.

       

      So do you have an idea to correct the problem ?

       

       

      attached documents my component.xml and persistence.xml