Try to add explicit type casting
change+ "(?,?,?)";to+ "(?,?, CAST (? AS time))";
+ "(?,?,?)";
+ "(?,?, CAST (? AS time))";