OPENJPA-1116 Update PU name to reflect the test name

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2009-09-23 19:17:06 +00:00
parent 85a609aa5d
commit c5954aa4a5
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase;
public class TestStrategyAnnotaion extends SingleEMFTestCase {
public void testStrategy() {
EntityManagerFactory emf = Persistence.
createEntityManagerFactory("example", System.getProperties());
createEntityManagerFactory("testStrategy", System.getProperties());
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
Person person = new Person();

View File

@ -234,7 +234,7 @@
</properties>
</persistence-unit>
<persistence-unit name="example" transaction-type="RESOURCE_LOCAL">
<persistence-unit name="testStrategy" transaction-type="RESOURCE_LOCAL">
<class>org.apache.openjpa.persistence.jdbc.strategy.Person</class>
<class>org.apache.openjpa.persistence.jdbc.strategy.Address</class>
<properties>