Hi,
Could you please provide me with a test case that throws the expected NPE?
So far I haven't managed to reproduce the issue : I've attached a test case with a simple query containing a lower(...) which seems to work as expected (tested against hibernate/master).
In {{QueryImpl#extractParameterInfo, QueryImpl#mightNeedRedefinition}} is only called for named parameters. Ordinal parameters should work correctly. As for the named parameters, in the case of my simple query, the following line returns null : {code} Class javaType = namedParameterTypeRedefinition.get( name ); {code} As a result, the following *if* is not executed and no exceptions are raised.
Thank you
EDIT : So this problem seems to be related only with 4.2.3. I'm testing it now
|