I made comments on the bug itself, so we can document the whole issue:
https://issues.apache.org/jira/browse/OPENJPA-820
Please, any help would be greatly appreciated.
Pinaki Poddar wrote:
select this from com.protrade.fandom.data.entities.TeamFanJersey this
where this.teamFan = :p0
1. What is the value of the query parameter 'p0'? If p0 is persisted in one
slice only, then in other slices the query should compare with IS NULL.
I had added a test case of the above form in
...openjpa.slice.TestQuery#testQueryParameterEntity. And that test verifies
proper parameter binding and returns the correct result.
May be something more is happening in your use case. Post the relevant
portion of the failing use case.