Nicklas Karlsson [https://community.jboss.org/people/nickarls] created the 
discussion

"Re: Jboss 7.1.1 problem"

To view the discussion, visit: https://community.jboss.org/message/771656#771656

--------------------------------------------------------------
If you have a 

@PersitenceUnit
private EntityManager em;

you need to change it to 

@PersitenceUnit(unitName="foo")
private EntityManager em;

Where "foo" is the name of a PU defined in your persistence.xml
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/771656#771656]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to