Improved parameter type guessing in query language for 3.2

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 4058

This topic has not yet been written. The content below is from the topic description.
Improved parameter type guessing Previous versions guessed the type of a particular parameter (when the generic Query.setParameter() method is used) based on the incoming parameter value being bound. 3.2 implements a different guessing strategy based on the structure of the analyzed query; for example, given a query like from Animal a where a.pregnant = ? we can tell from the structural analysis that we should expect the type of the parameter to be the same as the underlying type of the Animal.pregnant property.