You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2007/02/08 03:02:05 UTC

[jira] Created: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec

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


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.


[jira] Updated: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec

Posted by "Patrick Linskey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Linskey updated OPENJPA-135:
------------------------------------

    Fix Version/s: 0.9.7

> 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: 0.9.7
>
>
> 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.


[jira] Commented: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471518 ] 

Craig Russell commented on OPENJPA-135:
---------------------------------------

Would it be possible for you to attach a simple test case to this issue? Thanks.

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


[jira] Assigned: (OPENJPA-135) join fetch not returning duplicate references which not conforming to ejb3.0 spec

Posted by "Marc Prud'hommeaux (JIRA)" <ji...@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: 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
>         Assigned To: Marc Prud'hommeaux
>             Fix For: 0.9.7
>
>
> 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.