intervals and jdbc

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: intervals and jdbc
Date: 2002-12-06 02:45:12
Message-ID: 3DF00F38.1030801@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-12-06 03:10:50 Re: intervals and jdbc
Previous Message Justin Clift 2002-12-06 02:39:37 [Fwd: Re: [Fwd: Re: [GENERAL] DbVisualizer and PG 7.3?]]