HHH-3580 fixed PackagedEntityManagerTest

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Hardy Ferentschik 2008-11-03 15:09:16 +00:00
parent 30afc77a79
commit 669d21a7bd
4 changed files with 3 additions and 11 deletions

View File

@ -93,5 +93,5 @@
<param name="extension" value="par"/> <param name="extension" value="par"/>
<param name="jarname" value="explodedpar"/> <param name="jarname" value="explodedpar"/>
</antcall> </antcall>
</target> </target>
</project> </project>

View File

@ -105,6 +105,7 @@
<filtering>true</filtering> <filtering>true</filtering>
<directory>src/test/resources</directory> <directory>src/test/resources</directory>
<includes> <includes>
<include>META-INF/**</include>
<include>*.properties</include> <include>*.properties</include>
</includes> </includes>
</testResource> </testResource>

View File

@ -354,13 +354,4 @@ public class PackagedEntityManagerTest extends TestCase {
em.getTransaction().rollback(); em.getTransaction().rollback();
em.close(); em.close();
} }
public PackagedEntityManagerTest() {
super();
}
public PackagedEntityManagerTest(String arg0) {
super( arg0 );
}
} }

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0"> version="1.0">
<persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL"> <persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL">
<jar-file>./build/testresources/externaljar.jar</jar-file> <jar-file>./target/test-packages/externaljar.jar</jar-file>
<class>org.hibernate.ejb.test.Cat</class> <class>org.hibernate.ejb.test.Cat</class>
<class>org.hibernate.ejb.test.Kitten</class> <class>org.hibernate.ejb.test.Kitten</class>
<class>org.hibernate.ejb.test.Distributor</class> <class>org.hibernate.ejb.test.Distributor</class>