JBoss Community

Re: Jboss 7.1.1 problem

created by Nicklas Karlsson in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community