[ https://issues.apache.org/jira/browse/OPENJPA-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223760#comment-13223760 ]
Heath Thomann commented on OPENJPA-1501: ---------------------------------------- HI! The above Nabble link doesn't work for me any longer.....I've been trying it at random times over the past 24hrs. I'm assuming the link no longer exists. In case others experience similar behavior, I did find the same info on MarkMail here: http://openjpa.markmail.org/search/?q=EntityManager-fetch-and-query-by-key-behave-differently#query:EntityManager-fetch-and-query-by-key-behave-differently+page:1+mid:yg5quqhot3hcreuw+state:results Thanks, Heath > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira