userimage

IllegalArgumentException

I started getting “IllegalArgumentException: argument type mismatch” in hibernate. The hibernate entity was working for quite some time and svn logs confirm the code to be intact.

What might be the case?
userimage

The solution is the use of "addScalar" in your query execution.

Answer is