Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353883 - [EclipseLink] Add 1-m, m-m, 1-1, element-collection, m-1 to xml and noncacheable element is added
Summary: [EclipseLink] Add 1-m, m-m, 1-1, element-collection, m-1 to xml and noncachea...
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 09:23 EDT by Karen Butzke CLA
Modified: 2011-09-14 10:10 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch against 3.0 maintenance (6.12 KB, patch)
2011-08-04 09:38 EDT, Karen Butzke CLA
no flags Details | Diff

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