If you're getting objects (e.g. dates and strings) then the "more elegant" way would be to just compare said objects to null directly. You only need the "wasNull" method when you're getting primitives from the database.
Joined: Jul 09, 2007
Thanks for pointing that out. I thought they only work on Object type since that was I have read from the API Docs.
Going back to your suggestion.
So does it mean that for every columns, I'll have to add bunch of if statements to test if it is null?