persistence@glassfish.java.net

entity-persistence CTS Issue - persistence xml with <mapping-file>

From: Tom Ware <tom.ware_at_oracle.com>
Date: Mon, 13 Mar 2006 15:06:14 -0500

Hi all,

  Hopefully someone can help us out. We are debugging a CTS issue in
the entity-persistence module and we are seeing the following problem:

  We are deploying the attached ear file and trying to make use of the
persistence unit defined in persistence.jar. When we call
getJarFileUrls() on the PersitenceUnitInfo instance we are given in
createContainerEntityManagerFactory(), we get an empty list. How build
our ear and write our persistence.xml file so the result of
getJarFileUrls() includes a URL to entities.jar?

-Tom