I need to know if value (numeric
) in Java ResultSet from PostgreSQL is NULL
and if so, I would need to get Double.NaN
instead of 0. I use Apache Commons DBUtils mapping but it maps NULL value to 0.
Is there some way how to get Double.NaN instead without need to create own BasicRowProcessor
?