Skip to content

Commit 2478619

Browse files
committed
Modified persistence xsd reference
1 parent 202a997 commit 2478619

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎persistence-jpa/src/main/resources/META-INF/persistence.xml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
5-
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
6-
version="1.0">
2+
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
5+
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
6+
version="2.1">
77

88
<persistence-unit name="jpa-db">
99
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>

‎persistence-jpa/src/test/resources/persistence.xml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
5-
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
6-
version="1.0">
2+
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
5+
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
6+
version="2.1">
77

88
<persistence-unit name="jpa-db">
99
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>

0 commit comments

Comments
 (0)