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

Bug 313401

Summary: shared-cache-mode defaults to NONE when the element value is unrecognized
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.orm-inbox, guy.pelletier, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed changes - 2.0.3 stream
none
Proposed changes - 2.2 stream none

Description Gordon Yorke CLA 2010-05-18 13:18:12 EDT
When a user specifies an element value in shared-cache-mode other than, NONE,ALL, ENABLE_SELECTIVE, DISABLE_SELECTIVE EclipseLink defaults to NONE.  The default in EclipseLink should always be DISABLE_SELECTIVE.  If the user specifies an unknown value we should raise a validation exception notifying the user it is an unrecognized value.
Comment 1 Tom Ware CLA 2010-06-07 14:25:08 EDT
Setting target and priority.  See the following page for details of the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Comment 2 Guy Pelletier CLA 2010-06-09 12:52:42 EDT
Created attachment 171550 [details]
Proposed changes - 2.0.3 stream
Comment 3 Guy Pelletier CLA 2010-06-09 13:00:49 EDT
Created attachment 171552 [details]
Proposed changes - 2.2 stream

This patch to be applied to 2.1.1 stream when it opens.
Comment 4 Guy Pelletier CLA 2010-06-09 14:14:05 EDT
Changes submitted to the 2.0.3 and 2.2 stream. Once the 2.1.1 stream opens I will check in there as well.

Reviewed by: Gordon Yorke

Tests: New test (testCachingOnUNSPECIFIED) added to the CacheableModelJunitTest
Comment 5 Guy Pelletier CLA 2010-06-23 13:27:28 EDT
Changes have now been submitted to the 2.1.1 stream
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:34:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink