[jboss-user] [EJB 3.0] - Re: No default persistence unit in this deployment
Wolfgang Knauf
do-not-reply at jboss.com
Tue Jan 16 08:04:59 EST 2007
You have to set "unitName":
@PersistenceContext(unitName="demo")
| private EntityManager em;
Hope this helps
Wolfgang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002258#4002258
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002258
More information about the jboss-user
mailing list