Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.0.4
-
None
-
mariadb Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
mariadb-java-client version 3.0.4
Description
An ArrayIndexOutOfBoundsException is thrown when I'm retrieving value of a column of type TIME. But the problem only occurs when the value of the column is '00:00:00' and the option useServerPrepStmts set to true.
The method ResultSet#getTime works perfectly when useServerPrepStmts = false or the value is different from '00:00:00' (for example : '02:10:00')
Here is a JUnit test class which reproduces the bug.