hibernate.QueryException: CAST function should only have 2 arguments

Version imprimable