mirror of https://github.com/apache/openjpa.git
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:
parent
85a609aa5d
commit
c5954aa4a5
|
@ -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();
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue