"jaikiran" wrote : I too see the same exception. Looks like a bug.
|
|
I guess its not a bug. I just read the @PersistenceContext reference here
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/topli....
You should be using unitName attribute and not the name attribute, in this case. So the
bean should be changed to:
| @SuppressWarnings("unused")
| @PersistenceContext(unitName="hskaPersistence")
| private EntityManager em;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162791#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...