What value did you provide for unitName? Was it a value from your persistence.xml file?
<persistence-unit name="someDB">
| ...
| </persistence-unit>
@PersistenceContext(unitName="someDB")
I think this is the way it's done anyway. Personally, I use SMPC.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090362#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...