[Jdbc-commits] pgjdbc: When PreparedStatement.setObject(int, Object, Types.OTHER) is

User Jurka jurka at pgfoundry.org
Sat Dec 15 16:12:14 UTC 2007


Log Message:
-----------
When PreparedStatement.setObject(int, Object, Types.OTHER) is issued,
bind the String version of the object with an unspecified type.  This
makes it easier to use types that Java doesn't have a mapping for
without enabling stringtype=unspecified for all driver calls.

As suggested by Matt Magoffin.

Modified Files:
--------------
    pgjdbc/org/postgresql/jdbc2:
        AbstractJdbc2Statement.java (r1.104 -> r1.105)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java.diff?r1=1.104&r2=1.105)
    pgjdbc/org/postgresql/test/jdbc2:
        PreparedStatementTest.java (r1.19 -> r1.20)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbc/pgjdbc/org/postgresql/test/jdbc2/PreparedStatementTest.java.diff?r1=1.19&r2=1.20)


More information about the Jdbc-commits mailing list