As a follow-up to https://hibernate.atlassian.net/browse/HHH-16875 it is possible to simplify and tighten up the type-checking code in TypecheckUtil if the necessary information about converters is made available in the SQM tree. I was forced to add a hole in the logic to accommodate the fact that this information is not available. |