Community
Participate
Working Groups
Causing a class cast exception at descriptor initialization time. Test model to expose error: @Entity @Table(name="VPD_TASK") @Multitenant(VPD) @Inheritance(strategy=SINGLE_TABLE) @DiscriminatorColumn(name="DTYPE") @DiscriminatorValue("TASK") @TenantDiscriminatorColumn(name = "TENANT_ID", contextProperty = "tenant.id") @Cacheable(false) public class Task implements Serializable { ... } @Entity @DiscriminatorValue("SUBTASK") public class SubTask extends Task { ... }
Created attachment 207026 [details] Proposed changes
Changes have been submitted. Verified by: Peter Krogh Tests: Multitenant model extended to expose error. With fix in place, the existing test (testVPDEMPerTenant), with some new testing lines added, continues to pass.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink