Use the jar-file tag in persistence.xml:
| <persistence>
| <persistence-unit name="persistenceunit">
| <jta-data-source>jndiName</jta-data-source>
| <properties>
| <!-- other properties -->
| </properties>
|
<jar-file>../your-jar-file-thats-also-in-the-root-of-your-ear.jar</jar-file>
| </persistence-unit>
| </persistence>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126107#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...