Re: [PR] ROL-2183: Migrate from javax to Jakarta EE 11 [ roller]

Copilot (via GitHub) <[email protected]>
Newsgroups gmane.comp.java.roller.devel
Message-ID <PR_kwDOAAMmdM79jIsP-ec4a4816-ed46-444c-984a-63600ce38c3f@gitbox.apache.org>
Copilot commented on code in PR #154:
URL: https://github.com/apache/roller/pull/154#discussion_r3772284302


##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogTemplate.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   This schema location has an extra `/orm/` segment; that URL does not exist. XML validators or providers that resolve `xsi:schemaLocation` will fail to load this mapping. Use the official Jakarta Persistence 3.1 URL, and apply the same correction to every migrated ORM mapping.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogPermission.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryComment.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryAttribute.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogBookmarkFolder.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogBookmark.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/Weblog.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryTag.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/RuntimeConfigProperty.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntryTagAggregate.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogHitCount.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/ObjectPermission.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/PingQueueEntry.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFileTag.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFile.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogEntry.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/AutoPing.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+                 xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/SubscriptionEntry.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/WeblogCategory.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/RuntimeConfigProperty.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/CustomTemplateRendition.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+                 xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/Subscription.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/Planet.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/planet/pojos/PlanetGroup.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/UserRole.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/User.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/PingTarget.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/TaskLock.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



##########
app/src/main/resources/org/apache/roller/weblogger/pojos/MediaFileDirectory.orm.xml:
##########
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="2.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
+<entity-mappings version="3.1" xmlns="https://jakarta.ee/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd">
+    xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd">

Review Comment:
   The added schema URL contains an extra `/orm/` path segment and resolves to no schema. Replace it with the official Jakarta Persistence 3.1 ORM schema URL.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.