[CONJ-54] ResultSet.getTimestamp() throws "Could not parse field as date" SQLException with "time" column Created: 2013-07-08  Updated: 2013-07-08  Resolved: 2013-07-08

Status: Closed
Project: MariaDB Connector/J
Component/s: None
Affects Version/s: 1.1.3
Fix Version/s: 1.1.4

Type: Bug Priority: Minor
Reporter: Jody Grassel Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File MariaDBDateTest.java    

 Description   

With a column of type "time", any attempt to read it with rs.getTimestamp() throws a SQLException with message "Could not parse field as date." This only occurs with the MariaDB JDBC driver; the same operation works without incident on the regular MySQL JDBC driver.

Sample junit provided.


Generated at Thu Feb 08 03:12:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.