StringIndexOutOfBoundsException when retrieving MySQL years as dates
--------------------------------------------------------------------
Key: SEQUOIA-1048
URL: https://forge.continuent.org/jira/browse/SEQUOIA-1048
Project: Sequoia
Type: Bug
Components: JDBC Driver
Reporter: Gilles Rayrat
Assigned to: Gilles Rayrat
Fix For: sequoia 2.10.10
When retrieving a mysql YEAR type (2 or 4 digits), the following exception is
returned:
java.lang.StringIndexOutOfBoundsException: String index out of range: 10
at java.lang.String.substring(String.java:1935)
at
org.continuent.sequoia.driver.DriverResultSet.getDate(DriverResultSet.java:1159)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia