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

jaikiran do-not-reply at jboss.com
Sun Oct 26 10:16:49 EDT 2008


I understand what you are trying to do here. There was a similar question sometime back on this forum http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134276. See if using @Resource as mentioned in that thread is a feasible approach. That way, each application can have their own persistence unit name but bind them to this pre-decided JNDI name and inject it.



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

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



More information about the jboss-user mailing list