File tree Expand file tree Collapse file tree
jpa/pu-typesafe/src/main/resources/META-INF Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <persistence version =" 2.1" xmlns =" http://xmlns.jcp.org/xml/ns/persistence" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" >
2+ <persistence
3+ version =" 2.1"
4+ xmlns =" http://xmlns.jcp.org/xml/ns/persistence"
5+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6+ xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" >
37 <persistence-unit name =" defaultPU" transaction-type =" JTA" >
4- <!-- <jta-data-source>jdbc/__default</jta-data-source>-->
5- <property name =" javax.persistence.schema-generation.database.action" value =" drop-and-create" />
6- <property name =" javax.persistence.schema-generation.create-source" value =" script" />
7- <property name =" javax.persistence.schema-generation.drop-source" value =" script" />
8- <property name =" javax.persistence.schema-generation.create-script-source" value =" META-INF/create.sql" />
9- <property name =" javax.persistence.schema-generation.drop-script-source" value =" META-INF/drop.sql" />
10- <property name =" javax.persistence.sql-load-script-source" value =" META-INF/load.sql" />
8+ <properties >
9+ <property name =" javax.persistence.schema-generation.database.action" value =" drop-and-create" />
10+ <property name =" javax.persistence.schema-generation.create-source" value =" script" />
11+ <property name =" javax.persistence.schema-generation.drop-source" value =" script" />
12+ <property name =" javax.persistence.schema-generation.create-script-source" value =" META-INF/create.sql" />
13+ <property name =" javax.persistence.schema-generation.drop-script-source" value =" META-INF/drop.sql" />
14+ <property name =" javax.persistence.sql-load-script-source" value =" META-INF/load.sql" />
15+ </properties >
1116 </persistence-unit >
1217</persistence >
You can’t perform that action at this time.
0 commit comments