[jboss-user] [EJB 3.0] - Re: How do we control the order of deployment?
ALRubinger
do-not-reply at jboss.com
Fri Jul 20 15:37:27 EDT 2007
At quick look:
You have @PersistenceContext(unitName = "empmstEntityManager") atop your entity bean..
This is used to inject the EM into the underlying field. To make your Entity become a part of the EM, ensure its packaged into its own JAR (along with the other Entity beans) with a persistence.xml in the root-level META-INF directory.
Give a try? This is the mechanism I use, according to:
http://docs.jboss.org/ejb3/app-server/tutorial/packaging/packaging.html
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066322#4066322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066322
More information about the jboss-user
mailing list