Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343162 - @AttributeOverrides gives me exception
Summary: @AttributeOverrides gives me exception
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-18 10:17 EDT by rudibravo CLA
Modified: 2022-06-09 10:20 EDT (History)
2 users (show)

See Also:


Attachments
example of the mapping (1.38 KB, text/java)
2011-04-18 10:18 EDT, rudibravo CLA
no flags Details
stack trace with the exception (4.57 KB, text/plain)
2011-04-18 10:19 EDT, rudibravo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudibravo CLA 2011-04-18 10:17:52 EDT
Build Identifier: 2.2.0.v20110202-r8913

The AttributeOverrides gives me an excpetion in the following scenario:

class A have a field mapped with @AttributeOverrides
class B extends A and have another field of the same type mapped using @AttributeOverrides

This mapping throws an exception everytime I try to perform a simple query for B.

I've attached a full example and the stacktrace.

Reproducible: Always
Comment 1 rudibravo CLA 2011-04-18 10:18:46 EDT
Created attachment 193490 [details]
example of the mapping
Comment 2 rudibravo CLA 2011-04-18 10:19:03 EDT
Created attachment 193491 [details]
stack trace with the exception
Comment 3 Tom Ware CLA 2011-05-12 15:30:07 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 4 Eclipse Webmaster CLA 2022-06-09 10:20:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink