Error converting to timestamp / Error converting to array of bytes [JDBC625] #655
Submitted by: Walter Weinmann (wwe)
org.firebirdsql.jdbc.field.TypeConversionException: Error converting to timestamp.
looking into the code:
Same issue with BLOB:
org.firebirdsql.jdbc.field.TypeConversionException: Error converting to array of bytes.
The text was updated successfully, but these errors were encountered:
Commented by: @mrotteveel
Please provide a minimal reproducible example and make sure to include the actual datatypes you are using in the database. The stacktrace suggests that you aren't inserting into a TIMESTAMP (WITHOUT TIME ZONE), TIMESTAMP WITH TIME ZONE or (VAR)CHAR field for the first stacktrace. For the second stacktrace, the setBytes method is only available on BLOB and (VAR)CHAR types, so likely you are inserting into a different type.