Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350727 - JPA 2.1 ConstructorResult support in SQLResultSetMappings
Summary: JPA 2.1 ConstructorResult support in SQLResultSetMappings
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on:
Blocks: 338610
  Show dependency tree
 
Reported: 2011-06-29 12:59 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Yorke CLA 2011-06-29 12:59:36 EDT
The ability to return Constructor results from Native SQL queries has been proposed for JPA 2.1.  Just like the "NEW" keyword in JPQL the ConstructorResult specified in an SQLResultSetMapping allows the designated result columns to be passed to a constructor and the resulting instance returned in the query result.
Comment 1 Guy Pelletier CLA 2012-09-04 14:02:47 EDT
This feature was implemented within the patches for bug 350727
Comment 2 Guy Pelletier CLA 2012-09-10 09:14:32 EDT
Sorry meant bug 350487.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:19:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink