| Summary: | Issue with clone method from VPDMultitenantPolicy | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Guy Pelletier <guy.pelletier> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipselink.foundation-inbox | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
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 |
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 { ... }