You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
java.util.Date represents an instant in time, with millisecond precision, while Spanner Date represents a date without time.
So, we have to use Timestamp as a column in spanner Database for java.util.Date in Entity and we are forced to use com.google.cloud.Date as a type in Entity if we want to put column type as Date. Please let me know if my understanding is correct. I guess this is the current condition after current patch for Timestamp fix.
Thanks @meltsufin . I guess that makes sense. But, Spanner date represents a logical calendar date. LocalDate makes more sense to me in terms of perfect match. What do you think?
java.util.Date represents an instant in time, with millisecond precision, while Spanner Date represents a date without time.
The text was updated successfully, but these errors were encountered: