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

Bug 346900

Summary: [Validation] Need validation for temporal type of a map key
Product: [WebTools] Dali JPA Tools Reporter: Nan Li <nan.n.li>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nan Li CLA 2011-05-23 14:18:51 EDT
Build Identifier: I20110512-2000

The map key temporal annotation/element is used to specify the temporal type for a map key whose basic type is a temporal type (java.util.Date, java.util.Calendar or java.util.GregorianCalendar). Validation error should be reported if the type of a map key is not of such a temporal type when the
map key temporal annotation/element applies.

The map key temporal annotation/element can be applied to an element collection or relationship of type java.util.Map, in conjunction with the ElementCollection, OneToMany, or ManyToMany annotation/element.


Reproducible: Always
Comment 1 Neil Hauge CLA 2011-07-01 16:23:50 EDT
Moving JPA specific bugs to new JPA component in bugzilla.