From dev-return-5413-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Aug 09 22:32:07 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 86713 invoked from network); 9 Aug 2007 22:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 22:32:07 -0000 Received: (qmail 51944 invoked by uid 500); 9 Aug 2007 22:32:05 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 51909 invoked by uid 500); 9 Aug 2007 22:32:05 -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 51900 invoked by uid 99); 9 Aug 2007 22:32:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 15:32:05 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 22:32:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97B3671417D for ; Thu, 9 Aug 2007 15:31:43 -0700 (PDT) Message-ID: <15006911.1186698703618.JavaMail.jira@brutus> Date: Thu, 9 Aug 2007 15:31:43 -0700 (PDT) From: "Marc Prud'hommeaux (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Assigned: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Prud'hommeaux reassigned OPENJPA-135: ------------------------------------------ Assignee: (was: Marc Prud'hommeaux) > join fetch not returning duplicate references which not conforming to ejb3.0 spec > --------------------------------------------------------------------------------- > > Key: OPENJPA-135 > URL: https://issues.apache.org/jira/browse/OPENJPA-135 > Project: OpenJPA > Issue Type: Bug > Components: jpa > Reporter: Catalina Wei > Fix For: 1.0.0 > > > In the description in EJB 3.0 JPA spec, section 4.4.5.3, the following query example > SELECT d > FROM Department d LEFT JOIN FETCH d.employees > WHERE d.deptno = 1 > The spec says this query returns 5 references to the department 1 entity if department 1 has 5 employees. > The same query running with openjpa code, it returns only 1 reference to department 1 entity. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.