[jboss-user] [EJB 3.0] - Re: Using EntityManager in a abstract super class

mnrz do-not-reply at jboss.com
Thu Oct 30 14:18:10 EDT 2008


"skajotde" wrote : My team problem like this resolve with inheritance.
  | 
  | 

Thanks Kamil
Actually we ended up with something like that. I've created a setter method for EntityManager and in @PostConstruct method I set the entity manager, however I don't like this sort of approaches but we had to :)

I think it's very useful if they provide an annotation for injections with local JNDi names 


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

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



More information about the jboss-user mailing list