You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Watzek (JIRA)" <ji...@apache.org> on 2005/10/06 18:01:03 UTC

[jira] Created: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

JPOX ignores JDOHelper.getObjectId in queries.
----------------------------------------------

         Key: JDO-177
         URL: http://issues.apache.org/jira/browse/JDO-177
     Project: JDO
        Type: Bug
    Reporter: Michael Watzek
 Assigned to: Erik Bengtson 


JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:

SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-177?page=all ]

Andy Jefferson reassigned JDO-177:
----------------------------------

    Assign To: Andy Jefferson  (was: Erik Bengtson)

> JPOX ignores JDOHelper.getObjectId in queries.
> ----------------------------------------------
>
>          Key: JDO-177
>          URL: http://issues.apache.org/jira/browse/JDO-177
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Andy Jefferson

>
> JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:
> SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-177?page=all ]

Michael Watzek updated JDO-177:
-------------------------------

    Component: tck20

Component set to tck20.


> JPOX ignores JDOHelper.getObjectId in queries.
> ----------------------------------------------
>
>          Key: JDO-177
>          URL: http://issues.apache.org/jira/browse/JDO-177
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Erik Bengtson

>
> JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:
> SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-177?page=all ]

Andy Jefferson reassigned JDO-177:
----------------------------------

    Assign To: Michael Watzek  (was: Andy Jefferson)

JPOX CVS has been updated to support JDOHelper.getObjectId in the result clause. It now shows up an error in the test. The second query is trying to use a filter of "personid = 1", where it should be "personid == 1"

> JPOX ignores JDOHelper.getObjectId in queries.
> ----------------------------------------------
>
>          Key: JDO-177
>          URL: http://issues.apache.org/jira/browse/JDO-177
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek

>
> JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:
> SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-177?page=all ]
     
Michael Watzek resolved JDO-177:
--------------------------------

    Resolution: Fixed

The fix has been checked in.


> JPOX ignores JDOHelper.getObjectId in queries.
> ----------------------------------------------
>
>          Key: JDO-177
>          URL: http://issues.apache.org/jira/browse/JDO-177
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek

>
> JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:
> SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (JDO-177) JPOX ignores JDOHelper.getObjectId in queries.

Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-177?page=comments#action_12358491 ] 

Andy Jefferson commented on JDO-177:
------------------------------------

To be explicit, this only relates to queries where JDOHelper.getObjectId(this) is in the result clause. When it is in the filter clause all works fine.

> JPOX ignores JDOHelper.getObjectId in queries.
> ----------------------------------------------
>
>          Key: JDO-177
>          URL: http://issues.apache.org/jira/browse/JDO-177
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Erik Bengtson

>
> JPOX ignores JDOHelper.getObjectId in queries. This bug may be reproduced applying patch JDO-159. The following query returns instances of FullTimeEmployee instead of objectid instances:
> SELECT JDOHelper.getObjectId(this) FROM org.apache.jdo.tck.pc.company.Person

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira