[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

jaikiran do-not-reply at jboss.com
Thu Apr 3 11:42:59 EDT 2008


And while trying this with jarname#unitName, please do have a look at  http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132775. You will probably end up, injecting it like this:


  | //Prefix 3 random characters to the unitName
  | 
  | @PersistenceContext(unitName = "XXXejbmsp.jar#msp-par")
  | private EntityManager entityManager;

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

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



More information about the jboss-user mailing list