[jboss-user] [JBoss Tools] - Re: Jboss 7.1.1 problem

Nicklas Karlsson do-not-reply at jboss.com
Tue Oct 23 01:30:10 EDT 2012


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121023/6db9d493/attachment.html 


More information about the jboss-user mailing list