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

Bug 353883

Summary: [EclipseLink] Add 1-m, m-m, 1-1, element-collection, m-1 to xml and noncacheable element is added
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, neil.hauge
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch against 3.0 maintenance none

Description Karen Butzke CLA 2011-08-04 09:23:10 EDT
In an eclipselink orm.xml file add a 1-m, m-m, 1-1, m-1, or element-collection mapping, the element noncacheable is incorrectly added:

<one-to-many name="bars">
	<noncacheable >false</noncacheable>
</one-to-many>
Comment 1 Karen Butzke CLA 2011-08-04 09:38:39 EDT
Created attachment 200914 [details]
proposed patch against 3.0 maintenance
Comment 2 Karen Butzke CLA 2011-08-04 09:39:12 EDT
patch works for maintenance or head
Comment 3 Karen Butzke CLA 2011-08-04 14:19:27 EDT
checked in to head for M1
Comment 4 Jolene Moffitt CLA 2011-09-14 10:10:50 EDT
Verified in Build I-3.4.0-20110912100409 

Verified <noncacheable >false</noncacheable> does not appear in the source when you add a 1-m, m-m, 1-1, m-1 or element-collection mapping in the eclipselink-orm.xml. See the link to view test steps for verification. 
http://wiki.eclipse.org/Dali_3.1_M1