Postgres to Java type mapping

From: "Paulo Merson" <paulo(at)summa-tech(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Postgres to Java type mapping
Date: 2002-01-11 19:47:12
Message-ID: 006601c19ad8$c3a26da0$c501a8c0@PAULO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,

I'd appreciate if anyone could indicate what is the recommended Java
type (or class) to map the following Postgres SQL types. I couldn't find
any document or previous message with such information.

SERIAL
TEXT
TIMESTAMP
BIT(n)
BIT VARYING(n)
INET
MACADDR
CIDR

Thank's,

Paulo Merson
Summa Technologies - www.summa-tech.com

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-01-11 20:56:39 Re: compiling jdbc driver using java version 1.4.0 beta3 and postgresql 7.1.3
Previous Message Jens Carlberg 2002-01-11 19:28:43 Re: ResultSet memory usage