> 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. -- View this message in context: http://n2.nabble.com/-jira--Created%3A-%28OPENJPA-820%29-slices%3A-a-simple-query-is-failing-%28unique%2C-but-totally-sending-wrong-parameters-to-SQL%29-tp1636374p1638566.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
