setting to properly handle null dates in jdbc