[hibernate-dev] When is Dialect.requiresCastingOfParametersInSelectClause applied?