Re: Exception on call to isValid() method

From: Jeff Lanzarotta <delux256-postgresql(at)yahoo(dot)com>
To: PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Exception on call to isValid() method
Date: 2007-03-05 17:54:29
Message-ID: 685599.32023.qm@web36801.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

OK, thanks. I will look for a JDBC4 driver...

----- Original Message ----
From: Kris Jurka <books(at)ejurka(dot)com>
To: Jeff Lanzarotta <delux256-postgresql(at)yahoo(dot)com>
Cc: PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Sent: Monday, March 5, 2007 12:21:21 PM
Subject: Re: [JDBC] Exception on call to isValid() method

On Mon, 5 Mar 2007, Jeff Lanzarotta wrote:

> I am receiving the following exception when I call the isValid() method
> on a database Connection object.
>
> Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError:
> org.postgresql.jdbc3.Jdbc3Connection.isValid(I)Z
>
> Any idea why this Exception would be thrown?

isValid is a JDBC4 method and you have a JDBC3 driver.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeff Lanzarotta 2007-03-05 18:34:48 Re: Exception on call to isValid() method
Previous Message Kris Jurka 2007-03-05 17:25:57 Re: Utilizing executeBatch() with stored procedures