I think I see a similar problem with the upcoming XML changes. If we return XML as CLOB in jdk 1.4 then applications will break when then switch to the jdk that supports JDBC 4.0. Again for the same reason, with jdk 1.4 getObject would return java.sql.Clob and in the JDBC 4.0 jdk it would return java.sql.SQLXML. I think for this case get/setObject() should not succeed for XML columns until JDBC 4.0 is supported.
Agreed.
