[jboss-user] [EJB 3.0] - Re: Problem instantiating an EntityManagerFactory
waynebaylor
do-not-reply at jboss.com
Thu Nov 22 12:16:58 EST 2007
two things:
1)not sure if it matters, but use java:/DefaultDS instead of java:DefaultDS in persistence.xml.
2)Persistence.create* is for use outside the container. try doing a JNDI lookup of the factory instead.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107159#4107159
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107159
More information about the jboss-user
mailing list