Bug 354054 - [JPA2.0] MapKeyTemporal and MapKeyEnumerated model support
Summary: [JPA2.0] MapKeyTemporal and MapKeyEnumerated model support
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: JPA2.0
Keywords: plan
Depends on:
Blocks: 300089
  Show dependency tree
 
Reported: 2011-08-05 15:57 EDT by Karen Butzke CLA
Modified: 2011-09-26 14:17 EDT (History)
0 users

See Also:


Attachments
example project with Temporal validation (11.33 KB, application/x-sdlc)
2011-08-12 16:44 EDT, Karen Butzke CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-08-05 15:57:32 EDT
MapKeyTemporal/MapKeyEnumerated annotation support and
map-key-temporal/map-key-enumerated orm.xml element support

Supported on these mapping types:

element-collection
many-to-many
one-to-many
Comment 1 Karen Butzke CLA 2011-08-12 16:44:21 EDT
Created attachment 201436 [details]
example project with Temporal validation

The attached project has examples of the different temporal validation that has been added with this feature. As it exists you will see 8 error on the java Company class. If you add Company to the orm.xml you should see 8 "implied attribute" errors. If you then add each of the attribute mappings to the orm.xml and set the temporal and map-key-temporal metadata the same as it is in java, you will get the same 8 errors.
Comment 2 Karen Butzke CLA 2011-08-12 16:59:54 EDT
model support added to HEAD