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?
FYI: Before calling isValid() I do make sure that the the Connection object is not null.
Regards,
Jeff
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
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 majo...@postgresql.org so that your
message can get through to the mailing list cleanly
Kris Jurka
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
org.postgresql.util.PSQLException: Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented.
at org.postgresql.Driver.notImplemented(Driver.java:728)
at org.postgresql.jdbc4.AbstractJdbc4Connection.isValid(AbstractJdbc4Connection.java:53)
at org.postgresql.jdbc4.Jdbc4Connection.isValid(Jdbc4Connection.java:21)
isValid() is an abstract method. So, am I to assume that the driver itself does not have isValid() implemented?