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

Bug 350727

Summary: JPA 2.1 ConstructorResult support in SQLResultSetMappings
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipselink.orm-inbox, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/EclipseLink/DesignDocs/350727
Whiteboard:
Bug Depends on:    
Bug Blocks: 338610    

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