[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: persistence.xml in ear entities in lib/lib1/jar => 'coul

sannegrinovero do-not-reply at jboss.com
Wed Jul 22 18:20:45 EDT 2009


hi, the "<jar-file>" is not needed, it's the EAR structure which needs fixing;
the persistence.xml goes in META-INF inside one of your ejb jars,
and in turn you need an application.xml inside the ear's META-INF to list the ejb jars.
Look into some working example, there are lots in the Seam distribution, or search for the application.xml format.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245422#4245422

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245422



More information about the jboss-user mailing list