You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2010/02/08 23:41:27 UTC

[jira] Created: (OPENJPA-1501) EntityManager.find may return multiple instances Entities with String identities if id value has trailing spaces.

EntityManager.find may return multiple instances Entities with String identities if id value has trailing spaces.
-----------------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-1501
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1501
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2.2, 1.3.0, 2.0.0
            Reporter: Michael Dick
            Assignee: Michael Dick


As noted on the OpenJPA users mailing list at http://n2.nabble.com/EntityManager-fetch-and-query-by-key-behave-differently-tp4165833p4165833.html 

The find operation doesn't properly handle trailing whitespace in a String ID. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1501) EntityManager.find may return multiple instances Entities with String identities if id value has trailing spaces.

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

Michael Dick updated OPENJPA-1501:
----------------------------------

    Attachment: OPENJPA-1501.2.0.x.patch.txt
                OPENJPA-1501.trunk.patch.txt

> EntityManager.find may return multiple instances Entities with String identities if id value has trailing spaces.
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1501
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1501
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>         Attachments: OPENJPA-1501.2.0.x.patch.txt, OPENJPA-1501.trunk.patch.txt
>
>
> As noted on the OpenJPA users mailing list at http://n2.nabble.com/EntityManager-fetch-and-query-by-key-behave-differently-tp4165833p4165833.html 
> The find operation doesn't properly handle trailing whitespace in a String ID. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1501) EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.

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

Michael Dick updated OPENJPA-1501:
----------------------------------

    Fix Version/s: 2.0.2
                   1.3.0

> EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1501
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1501
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 1.3.0, 2.0.2, 2.1.0
>
>         Attachments: OPENJPA-1501.2.0.x.patch.txt, OPENJPA-1501.trunk.patch.txt
>
>
> As noted on the OpenJPA users mailing list at http://n2.nabble.com/EntityManager-fetch-and-query-by-key-behave-differently-tp4165833p4165833.html 
> The find operation doesn't properly handle trailing whitespace in a String ID. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OPENJPA-1501) EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.

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

Michael Dick closed OPENJPA-1501.
---------------------------------

    Fix Version/s:     (was: 2.0.1)
       Resolution: Fixed

> EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1501
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1501
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.1.0
>
>         Attachments: OPENJPA-1501.2.0.x.patch.txt, OPENJPA-1501.trunk.patch.txt
>
>
> As noted on the OpenJPA users mailing list at http://n2.nabble.com/EntityManager-fetch-and-query-by-key-behave-differently-tp4165833p4165833.html 
> The find operation doesn't properly handle trailing whitespace in a String ID. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1501) EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.

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

Michael Dick updated OPENJPA-1501:
----------------------------------

          Summary: EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.  (was: EntityManager.find may return multiple instances Entities with String identities if id value has trailing spaces.)
    Fix Version/s: 2.0.1
                   2.1.0
       Patch Info: [Patch Available]

> EntityManager.find may return multiple instances of Entities with String identities if id value has trailing spaces.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1501
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1501
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.2, 1.3.0, 2.0.0
>            Reporter: Michael Dick
>            Assignee: Michael Dick
>             Fix For: 2.0.1, 2.1.0
>
>         Attachments: OPENJPA-1501.2.0.x.patch.txt, OPENJPA-1501.trunk.patch.txt
>
>
> As noted on the OpenJPA users mailing list at http://n2.nabble.com/EntityManager-fetch-and-query-by-key-behave-differently-tp4165833p4165833.html 
> The find operation doesn't properly handle trailing whitespace in a String ID. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.