Error: the <column-name> is of time without time zone but expression is of type character varying Error: the <column-name> is of time without time zone but expression is of type character varying postgresql postgresql

Error: the <column-name> is of time without time zone but expression is of type character varying


Try to add explicit type casting

change
+ "(?,?,?)";
to
+ "(?,?, CAST (? AS time))";