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

Re: "No class found for inet"

From: Larry Mulcahy <lmulcahy(at)qip(dot)qwest(dot)net>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: "No class found for inet"
Date: 2001-05-30 20:35:27
Message-ID: 3B15598F.D5BD31BD@qip.qwest.net (view raw or flat)
Thread:
Lists: pgsql-jdbc
Weird, I tried using rs.getString() instead of rs.getObject() and
it seems to be working OK now.

Dave Cramer wrote:
> 
> No, the driver wouldn't be able to handle inet type.
> 
> This is postgres specific, and isn't supported by the JDBC spec.
> 
> Dave
> ----- Original Message -----
> From: "Larry Mulcahy" <lmulcahy(at)qip(dot)qwest(dot)net>
> To: <pgsql-jdbc(at)postgresql(dot)org>
> Sent: Wednesday, May 30, 2001 1:22 PM
> Subject: [JDBC] "No class found for inet"
> 
> > I'm using the PostgreSQL 7.1.1 JDBC2 Enterprise driver, compiled
> > myself on Solaris 8 with the 1.3 JDK.
> >
> > I'm trying to access a column of the PostgreSQL datatype 'inet'.
> > When my program gets to the 'inet' field:
> >
> > rs.getObject(3);
> >
> > it fails with the exception "no class found for inet".
> > Does the JDBC driver support all PostgreSQL data types?

-- 
	    Larry Mulcahy		lmulcahy(at)qip(dot)qwest(dot)net
			  PGP public key at:
   http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03

In response to

Responses

pgsql-jdbc by date

Next:From: Bruce MomjianDate: 2001-05-30 20:56:03
Subject: Re: "No class found for inet"
Previous:From: Dave CramerDate: 2001-05-30 18:23:19
Subject: Re: "No class found for inet"

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