openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: [jira] Commented: (OPENJPA-820) slices: a simple query is failing (unique, but totally sending wrong parameters to SQL)
Date Wed, 10 Dec 2008 12:31:26 GMT

> select this from 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:
Sent from the OpenJPA Developers mailing list archive at

View raw message