From: Larry Mulcahy <lmulcahy@qip.qwest.net>
To: Dave Cramer <Dave@micro-automation.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: "No class found for inet"
Date: Wed, 30 May 2001 14:35:27 -0600
Message-ID: <3B15598F.D5BD31BD@qip.qwest.net> (raw)
References: <3B152C68.DC14299C@qip.qwest.net>
<00c501c0e935$9a313af0$230470d1@INSPIRON>
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@qip.qwest.net>
> To: <pgsql-jdbc@postgresql.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@qip.qwest.net
PGP public key at:
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: lmulcahy@qip.qwest.net, Dave@micro-automation.net
Subject: Re: "No class found for inet"
In-Reply-To: <3B15598F.D5BD31BD@qip.qwest.net>
References: <3B152C68.DC14299C@qip.qwest.net> <00c501c0e935$9a313af0$230470d1@INSPIRON> <3B15598F.D5BD31BD@qip.qwest.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox