I have a Timestamp object-
java.sql.Timestamp time = null;
and I have a datetime
value val_time
in a DB table.
val_time datetime
The situation is, while performaing an operation, this val_time
is not getting updated (which is pretty normal in my case). While reading from DB, naturally the datetime value will be null. So the timestamp object will also be null. My question is - can we get some default value other than null?