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)