Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 95612 invoked from network); 27 Mar 2009 20:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 20:30:13 -0000 Received: (qmail 77440 invoked by uid 500); 27 Mar 2009 20:30:13 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 77411 invoked by uid 500); 27 Mar 2009 20:30:13 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 77401 invoked by uid 99); 27 Mar 2009 20:30:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 20:30:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 20:30:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 964AF234C003 for ; Fri, 27 Mar 2009 13:29:50 -0700 (PDT) Message-ID: <1572828158.1238185790553.JavaMail.jira@brutus> Date: Fri, 27 Mar 2009 13:29:50 -0700 (PDT) From: "Catalina Wei (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-961) Support projection of element collection from a JPQL query In-Reply-To: <1788432956.1236274916063.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690084#action_12690084 ] Catalina Wei commented on OPENJPA-961: -------------------------------------- Support for elment collection within embeddable is checked in under r759330. Examples: select e from EntityA_Embed_Coll_Embed a , in (a.embed.embeds) e where EntityA_Embed_Coll_Embed contains an embeddable object "embed" and that embeddable object contains an element collection. > Support projection of element collection from a JPQL query > ---------------------------------------------------------- > > Key: OPENJPA-961 > URL: https://issues.apache.org/jira/browse/OPENJPA-961 > Project: OpenJPA > Issue Type: Sub-task > Components: jpa > Affects Versions: 2.0.0 > Reporter: Jeremy Bauer > Assignee: Catalina Wei > > This task is to support projection of element collection elements within a JPQL query. Ex. (SELECT b FROM ColEnt a JOIN a.coll b) where coll is an element collection within entity A. There are some assertions commented out in TestOrderColumn.java that use JPQL for validation. They can be used to help test this task. > // This validator is disabled until INDEX projection supports element > // collections > // validateIndexAndValues(em, "BaseTestEntity", "collelems", 10, > // new Object[] { elems[0], elems[1], elems[2]} "id", > // bte.getId()); > and > // This validator is disabled until INDEX projection supports element > // collections > // validateIndexAndValues(em, "Owner", "bikeColl", 0, > // bikeArr, "id", > // oid); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.