Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/JPA 2.0/tuple from jpql"

(New page: __NOTOC__ = JPA 2.0: new jar-file url base= JPA 2.0 Root | {{bug|289141}} {|{{BMTableStyle}} |-{{BMTHStyle}} ! Date ! Committer(s) ! Description |-...)
 
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
==Issue Summary==
 
==Issue Summary==
 
JPA 2.0 specification has introduced a map like query result type called a Tuple.  The Tuple result type can be returned from a JPQL query.  This item covers adding support for returning Tuples for a JPQL.
 
JPA 2.0 specification has introduced a map like query result type called a Tuple.  The Tuple result type can be returned from a JPQL query.  This item covers adding support for returning Tuples for a JPQL.
 +
 +
'''This issue is no longer in the JPA 2.0 specifcation and the work has been deffered until post JPA 2.0'''
  
 
==General Solution==
 
==General Solution==
Line 23: Line 25:
  
 
== Functional Requirements ==
 
== Functional Requirements ==
 +
* Support Tuple return types from JPQL queries
  
 
== Existing Feature Impact ==
 
== Existing Feature Impact ==

Latest revision as of 10:50, 11 September 2009

JPA 2.0: new jar-file url base

JPA 2.0 Root | bug 289141

Date Committer(s) Description
September 10, 2009 gyorke Initial feature template

Issue Summary

JPA 2.0 specification has introduced a map like query result type called a Tuple. The Tuple result type can be returned from a JPQL query. This item covers adding support for returning Tuples for a JPQL.

This issue is no longer in the JPA 2.0 specifcation and the work has been deffered until post JPA 2.0

General Solution

A new subclass of ReportQuery the TupleQuery exists to return tuples. The JPQL parser needs to be updated to supply aliases to the tuple elemented (selection items) and the EJBQueryImpl needs to be updated to cause the Tuple query to be created.

Work Estimate

Functional Requirements

  • Support Tuple return types from JPQL queries

Existing Feature Impact

Feature Supported Notes

Design

Documentation

Testing

Open Issues

Back to the top