This content has been marked as final.
Show 4 replies
-
1. Re: Sharing persistence between different jar files in ear ?
lorenz.fischer Jan 28, 2008 9:36 AM (in response to tranquillizer)i'm also looking for a solution ;) hope somebody can help us out..
-
2. Re: Sharing persistence between different jar files in ear ?
htroeng Jan 31, 2008 1:58 PM (in response to tranquillizer)Are we the first ones with this problem? ;)
-
3. Re: Sharing persistence between different jar files in ear ?
georgesberscheid Feb 4, 2008 6:33 AM (in response to tranquillizer)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>
-
4. Re: Sharing persistence between different jar files in ear ?
deanouk Mar 27, 2008 8:29 AM (in response to tranquillizer)Did this work for you guys?