I am using JdbcTemplate to get result of an query. Some of the columns can have null value in the DB table. But I am getting conversion exception complaining null can not be convert to long type.
How I can tell spring to put null in variable if it find null in the column?
I have data type as Long type.