Accessing BIT(n) type from Java

From: Petr Andrs <xtonda-konf(at)quick(dot)cz>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Accessing BIT(n) type from Java
Date: 2002-12-25 20:41:09
Message-ID: 3E0A17E5.4070309@quick.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all,

I need to use BIT(n) type for storing large bitmaps into database and
access them from Java. But when I am retrieving data into Java via JDBC
only null (ie no data) is returned and I receive error mesage saying
something like that I have no conversion or mapping for BIT type
although Java's java.util.BitSet perfectly matches PostgreSQL's BIT(n)
type. Is it possible to get data with BIT(n) type into Java. And if yes,
how?

Thanks.

pa

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2002-12-25 23:00:27 OT jdbc2.0 extention
Previous Message Tom Lane 2002-12-25 04:16:10 Re: updatable (J2EE) resultsets