Thank you. Trying to find why it's "badly broken" will be my next step.
Any hints Pinaki?
And I also don't remember this being mentioned in the docs.. anybody
want to update the docs until this is fixed?
Michael Dick wrote:
Hi,
I haven't searched through the JIRA issues, but this looks look a good
candidate.
We'll certainly consider any patches you come up with.
-mike
On Tue, Nov 25, 2008 at 9:15 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote:
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)