Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346900 - [Validation] Need validation for temporal type of a map key
Summary: [Validation] Need validation for temporal type of a map key
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 14:18 EDT by Nan Li CLA
Modified: 2011-07-01 16:23 EDT (History)
1 user (show)

See Also:


Attachments

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