Community
Participate
Working Groups
The new multi-tenancy support has mismatched annotations and xml. In java there is a @TenantDiscriminatorColumn with a name and contextProperty while in the eclipselink_orm_2_3.xsd there is a tenant-discriminator (instead of tenant-discriminator-column) complex type with a name and column-name(instead of context-property)
Not sure how this happened but is definitely not correct.
Created attachment 200217 [details] Proposed changes
Changes have been submitted. Verified by: Tom Ware Tests: Extended model using multitenant run with schema validation on. The mapping file was defined with the correct tenant discriminator elements. Meaning with validation on we get validation errors. With the correct schema, the validation errors go away. Internally, the tenant metadata was mapped using the correct elements as well, so again .. not sure how this invalid schema made it through development.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink