Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335596 - NamedQuery support on MappedSuperclasses
Summary: NamedQuery support on MappedSuperclasses
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 enhancement (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-01-27 13:10 EST by Karen Butzke CLA
Modified: 2011-11-16 09:25 EST (History)
2 users (show)

See Also:
neil.hauge: review+


Attachments
patch (32.01 KB, patch)
2011-09-26 16:04 EDT, Nan Li CLA
no flags Details | Diff
patch (30.80 KB, patch)
2011-10-18 12:44 EDT, Nan Li CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-01-27 13:10:48 EST
We need to add NamedQuery/NamedNativeQuery model and UI support to Java MappedSuperclasses in 1.0, 2.0 and EclipseLink. This is not supported in the orm.xml, but maybe it will be added in the 2.1 schema.
Comment 1 Neil Hauge CLA 2011-07-01 16:26:26 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Nan Li CLA 2011-09-26 16:04:04 EDT
Created attachment 204039 [details]
patch

Based on the current specifications, query support of mapped superclass are

1. Java support is available since 1.0 on both generic and EclipseLink platforms
2. XML support is available since 2.1 and only on EclipseLink platform

This patch reflects the query support of mapped superclass as above.
Comment 3 Nan Li CLA 2011-10-18 12:44:00 EDT
Created attachment 205440 [details]
patch

1. Made changes to reflect the package name refactoring made by Karen
2. Changed the hierarchy of some classes
Comment 4 Neil Hauge CLA 2011-10-19 13:45:52 EDT
Patch committed to head.  Will enter separate bug for adding JPQL content assist to MappedSuperclass inside the Java Editor.  Details view already supports this.
Comment 5 Jolene Moffitt CLA 2011-11-16 09:25:01 EST
Verified in Build S-3.1.0RC1-20111111225339 

Verified you can add named query/native named query to mapped superclass. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.1_M3