[
https://issues.apache.org/jira/browse/OPENJPA-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dick updated OPENJPA-1120:
----------------------------------
Fix Version/s: 1.3.0
I'd like to see a testcase before deciding to include this fix in 1.2.x. It
seems fairly straightforward but it'd be good to have one to prevent future
regressions in this area.
> idEquals() broken in BigDecimalId and BigIntegerId
> --------------------------------------------------
>
> Key: OPENJPA-1120
> URL: https://issues.apache.org/jira/browse/OPENJPA-1120
> Project: OpenJPA
> Issue Type: Bug
> Components: jpa
> Affects Versions: 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0
> Reporter: dieter von holten
> Assignee: Michael Dick
> Priority: Minor
> Fix For: 1.3.0, 2.0.0
>
> Attachments: BrokenEqualsId.patch
>
>
> in openjpa/util/BigDecimalId and open/util/BigIntegerId the idEquals-methods
> compare their own keys to the other object, not to others.key.
> That would always result in false - which is false sometimes
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.