SSP-2217 case result to Long from Integer