[CONJ-40] Connector cannot handle java.util.Date in PreparedStatement.setObject Created: 2013-05-23  Updated: 2013-06-07  Resolved: 2013-06-07

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

Type: Bug Priority: Major
Reporter: Frank S Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

The member public void setObject(final int parameterIndex, final Object x, final int targetSqlType) throws SQLException in class
org.mariadb.jdbc.MySQLPreparedStatement.

fails when called with setObject(1, new Date(), Types.TIMESTAMP)

In the case statements of the function TIMESTAMP is not considered.



 Comments   
Comment by Vladislav Vaintroub [ 2013-06-07 ]

changed bug title to describe the actual bug (it was not about Types.TIMESTAMP

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