[jboss-user] [EJB 3.0] - Re: Persistance.xml in .ear/META-INF

raja05 do-not-reply at jboss.com
Mon Aug 14 06:19:21 EDT 2006


The persistence.xml needs to be in META-INF of a *jar* file that is included in the EAR archive. You cant put the file directly in META-INF of the ear. 
To achieve what you need, you could tokenize the persistence.xml and feed the token values when you build the persistence.xml that will be a part of a jar that goes into the ear. Just a thought.



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

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



More information about the jboss-user mailing list