[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: |
|
| 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. |