Bug 354054

Summary: [JPA2.0] MapKeyTemporal and MapKeyEnumerated model support
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 Keywords: plan
Version: unspecified   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard: JPA2.0
Bug Depends on:    
Bug Blocks: 300089    
Attachments:
Description Flags
example project with Temporal validation none

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