Skip site navigation (1) Skip section navigation (2)

jdbc driver: Support for 'BOOL'

From: "Jos Antonio Matute Calvo" <cmaj(at)encomix(dot)es>
To: pgsql-bugs(at)postgresql(dot)org(dot)pgsql-interfaces(at)postgresql(dot)org
Subject: jdbc driver: Support for 'BOOL'
Date: 2001-01-10 16:31:30
Message-ID: 93i2nh$2do8$ (view raw, whole thread or download thread mbox)
Lists: pgsql-bugspgsql-interfacespgsql-jdbc
    If try to use field of type "java.sql.Types.BIT" obtains error "Unknown
Types Value"


    Add this:
    <                       case Types.BIT:
    <                               set(parameterIndex,
((Boolean)x).booleanValue() ? "true" : "false");

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


pgsql-bugs by date

Next:From: Peter MountDate: 2001-01-10 22:22:04
Subject: Re: JDBC Driver Authentication Bug
Previous:From: pgsql-bugsDate: 2001-01-10 16:04:30
Subject: JDBC Connection must be restarted after executing SQL statement that calls a PL/PGSQL function that won't compile

pgsql-interfaces by date

Next:From: Tony SimopoulosDate: 2001-01-10 17:43:03
Subject: ODBC parameter binding
Previous:From: Levi SellanDate: 2001-01-10 16:01:28
Subject: ODBC transactions with references

pgsql-jdbc by date

Next:From: Ian deSouzaDate: 2001-01-11 01:11:20
Subject: BIT type still not working
Previous:From: pgsql-bugsDate: 2000-11-14 06:58:56
Subject: no way in LargeObject API to detect short read?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group