play1 icon indicating copy to clipboard operation
play1 copied to clipboard

JPAQuery.bind .when the params is Integer , it get a long value.

Open a95417079 opened this issue 8 years ago • 1 comments

JPAQuery.bind .when the params is Integer , it get a long value. default while, in hibernate5 。QueryParameterBindingValidator throw an exception. default

and now i can use setParameter instead。

Am I using it the wrong way? default

a95417079 avatar Nov 22 '18 05:11 a95417079

@a95417079 Looks like a bug in JPAQuery.bind. It should not convert Integer to long.

asolntsev avatar Nov 22 '18 07:11 asolntsev