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

EclipseLink/Development/JPA 2.0/tuple from jpql

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 differeed 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