Skip to content
This repository was archived by the owner on Apr 9, 2022. It is now read-only.

Commit 354999e

Browse files
committed
1 parent 77cdb54 commit 354999e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/webapp/WEB-INF/META-INF/persistence.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
33
<persistence-unit name="com.nz" transaction-type="JTA">
44
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
5-
<jta-data-source>jdbc/pro_mydb</jta-data-source>
5+
<jta-data-source>jdbc/SimpleCRUD_JDBC</jta-data-source>
66
<class>com.nz.ejb.entity.Address</class>
77
<class>com.nz.ejb.entity.Group</class>
88
<class>com.nz.ejb.entity.User</class>
99
<properties>
10-
<property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
10+
<property name="eclipselink.ddl-generation" value="create-tables"/>
1111
</properties>
1212
</persistence-unit>
1313
</persistence>

0 commit comments

Comments
 (0)