Int type parameter of custom dql is wrong

PS, ignore this - This answer is wrong. Not a duplicated issue.

This is not supported, and it is duplicated of