Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361866 - [EclipseLink] add primary-key checkbox to tenant-discriminator-column UI for EL 2.4
Summary: [EclipseLink] add primary-key checkbox to tenant-discriminator-column UI for ...
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: EclipseLink
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-10-24 16:17 EDT by Karen Butzke CLA
Modified: 2012-01-06 13:36 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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