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

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 (view raw or flat)
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: InetTest.java
Description: text/plain (646 bytes)

In response to

pgsql-jdbc by date

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

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