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

Pg 7.4.2, jdbc 7.4, data type inet

From: "amo99(at)libero(dot)it" <amo99(at)libero(dot)it>
To: "pgsql-jdbc" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Pg 7.4.2, jdbc 7.4, data type inet
Date: 2004-06-18 18:00:07
Message-ID: HZINC7$E9E8A78516A544AC20517CDF4DEA390D@libero.it (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-jdbc
Hi,
I've tried following three drivers with postgresql v. 7.4.2:

  - pg74.213.jdbc3.jar
  - pg74.214.jdbc3.jar
  - pg74jdbc3-kmacclay.jar

All those drivers return null asking data of type inet.

The table structure is:

-----------------------------------------------------------------------------------------------------
psql-start
<db_name>=# \d host
                                             Table "public.host"
      Column       |            Type             |                         Modifiers
-------------------+-----------------------------+-----------------------------------------------------------
 id_host           | integer                     | not null default
nextval('public.host_id_host_seq'::text)
 address           | inet                        | not null
 nome              | character varying(60)       | not null
 descrizione       | character varying(500)      |
 data_assegnazione | timestamp without time zone | not null
Indexes: host_pkey primary key btree (id_host)
-----------------------------------------------------------------------------------------------------
psql-end

Driver pg73jdbc3.jar returns correct values.

Thanks




Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2004-06-18 18:13:39
Subject: proposal for CallableStatements to handle multiple out parms
Previous:From: Jie LiangDate: 2004-06-18 16:52:18
Subject: Re: Prepare Statement

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