File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
openjpa-persistence/src/main
java/org/apache/openjpa/persistence
resources/org/apache/openjpa/persistence Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,8 @@ openjpa-persistence -
253253 http://xmlns.jcp.org/xml/ns/persistence/orm_2_2.xsd)
254254 orm_3_0-xsd.rsrc - Eclipse Public License v2.0 - included in the openjpa jar, taken from:
255255 https://jakarta.ee/xml/ns/persistence/orm/orm_3_0.xsd
256+ orm_3_1-xsd.rsrc - Eclipse Public License v2.0 - included in the openjpa jar, taken from:
257+ https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd
256258 persistence-xsd.rsrc - CDDL 1.0 - included in the openjpa jar, taken from:
257259 http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd)
258260 persistence_2_0-xsd.rsrc - CDDL 1.0 - included in the openjpa jar, taken from:
Original file line number Diff line number Diff line change @@ -309,6 +309,7 @@ protected static enum localDBIdentifiers {
309309 private static final String ORM_XSD_2_1 = "orm_2_1.xsd" ;
310310 private static final String ORM_XSD_2_2 = "orm_2_2.xsd" ;
311311 private static final String ORM_XSD_3_0 = "orm_3_0.xsd" ;
312+ private static final String ORM_XSD_3_1 = "orm_3_1.xsd" ;
312313
313314 /**
314315 * Constructor; supply configuration.
@@ -596,7 +597,7 @@ protected Object getSchemaSource() {
596597 ormxsd = "orm_3_0-xsd.rsrc" ;
597598 useExtendedSchema = false ;
598599 } else if (XMLVersionParser .VERSION_3_1 .equals (_ormVersion )
599- || (_schemaLocation != null && _schemaLocation .indexOf (ORM_XSD_3_0 ) > -1 )) {
600+ || (_schemaLocation != null && _schemaLocation .indexOf (ORM_XSD_3_1 ) > -1 )) {
600601 ormxsd = "orm_3_1-xsd.rsrc" ;
601602 useExtendedSchema = false ;
602603 }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments