Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ openjpa-persistence -
http://xmlns.jcp.org/xml/ns/persistence/orm_2_2.xsd)
orm_3_0-xsd.rsrc - Eclipse Public License v2.0 - included in the openjpa jar, taken from:
https://jakarta.ee/xml/ns/persistence/orm/orm_3_0.xsd
orm_3_1-xsd.rsrc - Eclipse Public License v2.0 - included in the openjpa jar, taken from:
https://jakarta.ee/xml/ns/persistence/orm/orm_3_1.xsd
persistence-xsd.rsrc - CDDL 1.0 - included in the openjpa jar, taken from:
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd)
persistence_2_0-xsd.rsrc - CDDL 1.0 - included in the openjpa jar, taken from:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ protected static enum localDBIdentifiers {
private static final String ORM_XSD_2_1 = "orm_2_1.xsd";
private static final String ORM_XSD_2_2 = "orm_2_2.xsd";
private static final String ORM_XSD_3_0 = "orm_3_0.xsd";
private static final String ORM_XSD_3_1 = "orm_3_1.xsd";

/**
* Constructor; supply configuration.
Expand Down Expand Up @@ -596,7 +597,7 @@ protected Object getSchemaSource() {
ormxsd = "orm_3_0-xsd.rsrc";
useExtendedSchema = false;
} else if (XMLVersionParser.VERSION_3_1.equals(_ormVersion)
|| (_schemaLocation != null && _schemaLocation.indexOf(ORM_XSD_3_0) > -1)) {
|| (_schemaLocation != null && _schemaLocation.indexOf(ORM_XSD_3_1) > -1)) {
ormxsd = "orm_3_1-xsd.rsrc";
useExtendedSchema = false;
}
Expand Down