[jboss-user] [EJB 3.0] - @Entity using @EJB

ffranceschi1@gmail.com do-not-reply at jboss.com
Thu Nov 29 13:03:24 EST 2007


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?

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

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



More information about the jboss-user mailing list