[jboss-user] [EJB 3.0] - 4.2.2: Referencing a PersistenceContext from within another

cfthomas do-not-reply at jboss.com
Mon Mar 31 12:28:04 EDT 2008


Does not work:

  | @PersistenceContext(unitName="my-persistence.jar#puName")
  | EntityManager em;
  | 

Works:

  | // Put 3 random characters in front of your jar name!!
  | @PersistenceContext(unitName="xxxmy-persistence.jar#puName")
  | 

I searched hours for this lil bug!!
How can you release such a crap?

Thomas



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

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



More information about the jboss-user mailing list