jdbc driver: Support for 'BOOL'

Jos Antonio Matute Calvo <cmaj@encomix.es>

From: "Jos Antonio Matute Calvo" <cmaj@encomix.es>
To: pgsql-bugs@postgresql.org.pgsql-interfaces@postgresql.org
Date: 2001-01-10T16:31:30Z
Lists: pgsql-bugs
Problem:
    If try to use field of type "java.sql.Types.BIT" obtains error "Unknown
Types Value"

Resolution:

    Add this:

    PreparedStatement.java
    460,461d459
    <                       case Types.BIT:
    <                               set(parameterIndex,
((Boolean)x).booleanValue() ? "true" : "false");


Jose A. Matute Calvo
Daratel, S.L.
Zaragoza - Spain.