Pg 7.4.2, jdbc 7.4, data type inet - Mailing list pgsql-jdbc

From amo99@libero.it
Subject Pg 7.4.2, jdbc 7.4, data type inet
Date
Msg-id HZINC7$E9E8A78516A544AC20517CDF4DEA390D@libero.it
Whole thread Raw
Responses Re: Pg 7.4.2, jdbc 7.4, data type inet  (Kris Jurka <books@ejurka.com>)
List 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




pgsql-jdbc by date:

Previous
From: "Jie Liang"
Date:
Subject: Re: Prepare Statement
Next
From: Dave Cramer
Date:
Subject: proposal for CallableStatements to handle multiple out parms