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

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Simtay committed May 28, 2013
1 parent 77cdb54 commit 354999e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<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">
<persistence-unit name="com.nz" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/pro_mydb</jta-data-source>
<jta-data-source>jdbc/SimpleCRUD_JDBC</jta-data-source>
<class>com.nz.ejb.entity.Address</class>
<class>com.nz.ejb.entity.Group</class>
<class>com.nz.ejb.entity.User</class>
<properties>
<property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
<property name="eclipselink.ddl-generation" value="create-tables"/>
</properties>
</persistence-unit>
</persistence>

0 comments on commit 354999e

Please sign in to comment.