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 :
Class javaType = namedParameterTypeRedefinition.get( name );
As a result, the following " if " is not executed and no exceptions are raised.
Thank you
|