Re: intervals and jdbc

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: intervals and jdbc
Date: 2002-12-06 03:10:50
Message-ID: 1039144249.2212.189.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Joseph,

Can you send me a test case to demonstrate what you are trying to do?

Dave
On Thu, 2002-12-05 at 21:45, Joseph Shraibman wrote:
> If I try to get an interval from postgres via jdbc I get:
>
> No class found for interval
> 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)
>
> Why can't the interval just be returned as a String?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-12-06 03:13:13 Re: Postgresql and Melati
Previous Message Joseph Shraibman 2002-12-06 02:45:12 intervals and jdbc