Hopefully we can slip this in before 7.1.1 This patch fixes a bug which occurs when setObject(1,obj) is called and obj is of type Object, and is null Regards, Dave [root@ebox2 jdbc2]# diff PreparedStatement.java.orig PreparedStatement.java 517a518,521 > if (null == x){ > setNull(parameterIndex,Types.OTHER); > return; > } 568a573,576 > if (null == x){ > setNull(parameterIndex,Types.OTHER); > return; > } ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html