0 Replies Latest reply on Nov 29, 2007 1:02 PM by Fernando Franceschi

    @Entity using @EJB

    Fernando Franceschi Newbie

      Is it possible a injection the EJB Stateless in EJB Entity? (Jboss 4.2.1)

      I have this code:

      
       @Entity
       @Table(name = "TCYT_MATRIX")
       public class MatrixDomain implements Serializable {
      
       @Transient
       @EJB
       private AreaGroupRepository areaGroupRepository;
       ...
       }
      


      The variable areaGroupRepository is null always... JBoss supports this Injection?