openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Padilla <>
Subject Re: issues with unique query, using slices
Date Wed, 26 Nov 2008 03:15:23 GMT
1) wha?  So.. wow. wow.

2) ok, but next issue, is that it looks like it was returning an empty 
array, not an array with the single element.. Unless maybe the debug 
printing method was mis-bahaving..

3) So.. any ideas on what code needs to be fixed??  This is very sad. 
Do you think I could review it and submit a patch??

Pinaki Poddar wrote:
> Hi,
>   Query.getSingleResult() is badly broken (or, more precisely non-existent). 
>   Currently, use the workaround for Query.getSingleResult() i.e.
>     Query.getResultList().get(0) 

View raw message