Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.5
-
Fix Version/s: 3.0.6
-
Component/s: JDBC compatibility
-
Labels:None
-
Environment:openjdk-1.8.0.191 + MariaDB Server 10.3.15
Description
When I use java.sql.PreparedStatement setObject(int parameterIndex, Object x) to set java.util.Date object value,
It will throw java.sql.SQLException: Type java.util.Date not supported type at rorg.mariadb.jdbc.BasePreparedStatement.setInternalObject(BasePreparedStatement.java:1103)
Couldn't find any release note explain this behavior on version 3.0.5.
Is this a compatibility issue? because It works fine on version 2.2.3 and 2.2.5 connector.