Re: Pg 7.4.2, jdbc 7.4, data type inet

From: Kris Jurka <books(at)ejurka(dot)com>
To: "amo99(at)libero(dot)it" <amo99(at)libero(dot)it>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Pg 7.4.2, jdbc 7.4, data type inet
Date: 2004-06-18 18:35:00
Message-ID: Pine.BSO.4.56.0406181320290.10504@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 18 Jun 2004, amo99(at)libero(dot)it wrote:

> Hi,
> I've tried following three drivers with postgresql v. 7.4.2:
> All those drivers return null asking data of type inet.
>

Could you be more clear on how you want the results and how you are
calling them? With the attached test case I see the following behavior in
different driver versions:

pg73jdbc3.jar
192.168.3.1
Exception in thread "main" No class found for inet
at
org.postgresql.jdbc1.AbstractJdbc1Connection.getObject(AbstractJdbc1Connection.java:693)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.getObject(AbstractJdbc2Connection.java:117)
at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2ResultSet.java:147)
at InetTest.main(InetTest.java:16)

pg74.214.jdbc3.jar
192.168.3.1
null

pgdev.302.jdbc3.jar
192.168.3.1
192.168.3.1

Kris Jurka

Attachment Content-Type Size
InetTest.java text/plain 646 bytes

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-06-18 18:49:16 Re: proposal for CallableStatements to handle multiple out
Previous Message li li 2004-06-18 18:29:07 unsubscribe