Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361866

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: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jolene.moffitt, neil.hauge
Version: 3.1Keywords: plan
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard: EclipseLink

Description Karen Butzke CLA 2011-10-24 16:17:53 EDT
I have removed the primary-key checkbox from the EclipseLink 2.3 platform tenant discriminator column UI. This will need to be added back just to the EclipseLink 2.4 platform when we support it.
Comment 1 Karen Butzke CLA 2011-12-20 10:33:45 EST
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 {

}
Comment 2 Karen Butzke CLA 2011-12-21 10:31:39 EST
resolved for M5
Comment 3 Jolene Moffitt CLA 2012-01-06 13:36:13 EST
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