Hi!
I’m trying to make
java.sql.PreparedStatement.setNull(i, java.sql.Types.INTEGER);
But i get:
org.postgresql.util.PSQLException: ERROR: column “number_column” is of type integer but expression is of type character varying
Hint: You will need to rewrite or cast the expression.
I have Postgresql 8.4 and postgresql-jdbc-8.4-703.
Does anyone know about a workaround to this?
Thanks a lot!
David Pinheiro