| Summary: | [EclipseLink] add primary-key checkbox to tenant-discriminator-column UI for EL 2.4 | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | JPA | Assignee: | Karen Butzke <karenfbutzke> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge |
| Version: | 3.1 | Keywords: | plan |
| Target Milestone: | 3.2 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | EclipseLink | ||
|
Description
Karen Butzke
If there is a primary key tenant discriminator column defined we need to remove the validation that the entity has no primary key attribute defined.
This is a valid use case:
@Entity
@Multitenant(value=MultitenantType.SINGLE_TABLE)
@TenantDiscriminatorColumn(name="ID", primaryKey=true)
public class Foo {
}
resolved for M5 Verified in Build I-3.4.0-20120104005037 Verified primaryKey checkbox is removed from EL 2.3 and put into EL 2.4. Verified that when you have primaryKey = true set for tenant descriptor column the validation does not appear. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M5 |