Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Numeric getters return year or hour value for date/time types for text resultsets, and throw exception that conversion is impossible, for binary resultsets. I am not sure what is better here, but behavior should be similar . Exception looks a bit more natural here.
Also, for YEAR type getDate behaves differently - date(YEAR-01-01) for text protocol, "Can't be converted" exception for binary.