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

Bug 359823

Summary: In ORMetadata hierarchy some .equals methods not fully implemented
Product: z_Archived Reporter: Karen Butzke <karenfbutzke>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2011-10-04 07:44:08 EDT
In the ORMetadata hierarchy some of the .equals methods are missing fields defined on the class. For example, NamedQueryMetadata is missing the newer m_lockMode. This could lead to a false positive when comparing 2 queries for equality. Thus no exception would be thrown saying that 2 queries have the same name and it could be confusing to the user when it is not clear which query actually gets used in the project.

I have not searched the entire hierarchy, but noticed this particular field as missing.
Comment 1 Tom Ware CLA 2011-10-31 13:27:21 EDT
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:08:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink