openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <f...@alum.mit.edu>
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 23:04:13 GMT
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.
> 

Mime
View raw message