File tree 10 files changed +40
-19
lines changed
spring-data-jpa/src/test/resources
org/springframework/data/jpa/support
10 files changed +40
-19
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <entity-mappings xmlns =" http ://java.sun.com /xml/ns/persistence/orm"
3
- xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi:schemaLocation=" http ://java.sun.com /xml/ns/persistence/orm https://java.sun.com /xml/ns/persistence/orm_2_0 .xsd"
5
- version=" 2.0 " >
2
+ <entity-mappings xmlns =" https ://jakarta.ee /xml/ns/persistence/orm"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https ://jakarta.ee /xml/ns/persistence/orm https://jakarta.ee /xml/ns/persistence/orm/orm_3_2 .xsd"
5
+ version =" 3.2 " >
6
6
7
7
<persistence-unit-metadata >
8
8
<persistence-unit-defaults >
Original file line number Diff line number Diff line change 14
14
~ See the License for the specific language governing permissions and
15
15
~ limitations under the License.
16
16
-->
17
- <persistence version =" 2.0" xmlns =" http://java.sun.com/xml/ns/persistence"
18
- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
- xsi : schemaLocation =" http://java.sun.com/xml/ns/persistence https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
17
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
18
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
20
+ version =" 3.2" >
20
21
<persistence-unit name =" benchmark" >
21
22
<provider >org.hibernate.jpa.HibernatePersistenceProvider</provider >
22
23
<class >org.springframework.data.jpa.domain.AbstractPersistable</class >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <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 https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
2
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
5
+ version =" 3.2" >
3
6
<persistence-unit name =" spring-data-jpa" >
4
7
<class >org.springframework.data.jpa.domain.AbstractPersistable</class >
5
8
<class >org.springframework.data.jpa.domain.AbstractAuditable</class >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <persistence version =" 2.0"
3
- xmlns=" http://java.sun.com/xml/ns/persistence" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
2
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
5
+ version =" 3.2" >
5
6
<persistence-unit name =" first" >
6
7
<class >org.springframework.data.jpa.domain.sample.AnnotatedAuditableUser</class >
7
8
<class >org.springframework.data.jpa.domain.sample.AuditableRole</class >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <entity-mappings xmlns =" http://java.sun.com/xml/ns/persistence/orm" />
2
+ <entity-mappings xmlns =" https://jakarta.ee/xml/ns/persistence/orm"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_2.xsd"
5
+ version =" 3.2" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <entity-mappings xmlns =" http://java.sun.com/xml/ns/persistence/orm" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://java.sun.com/xml/ns/persistence/orm https://java.sun.com/xml/ns/persistence/orm_2_0.xsd" version =" 2.0" >
3
- </entity-mappings >
2
+ <entity-mappings xmlns =" https://jakarta.ee/xml/ns/persistence/orm"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_2.xsd"
5
+ version =" 3.2" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <entity-mappings xmlns =" http://java.sun.com/xml/ns/persistence/orm" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://java.sun.com/xml/ns/persistence/orm https://java.sun.com/xml/ns/persistence/orm_2_0.xsd" version =" 2.0" >
3
- </entity-mappings >
2
+ <entity-mappings xmlns =" https://jakarta.ee/xml/ns/persistence/orm"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_2.xsd"
5
+ version =" 3.2" />
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <persistence version =" 1.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 https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" >
2
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
5
+ version =" 3.2" >
3
6
<persistence-unit name =" pu" >
4
7
<mapping-file >foo.xml</mapping-file >
5
8
<class >org.springframework.data.jpa.domain.sample.User</class >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <persistence version =" 1.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 https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" >
2
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
5
+ version =" 3.2" >
3
6
<persistence-unit name =" pu" >
4
7
<mapping-file >bar.xml</mapping-file >
5
8
<class >org.springframework.data.jpa.domain.sample.Role</class >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <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 https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
2
+ <persistence xmlns =" https://jakarta.ee/xml/ns/persistence"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_2.xsd"
5
+ version =" 3.2" >
3
6
4
7
<persistence-unit name =" xxx" >
5
8
<exclude-unlisted-classes >true</exclude-unlisted-classes >
You can’t perform that action at this time.
0 commit comments