pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Exception on call to isValid() method
4+ messages / 2 participants
[nested] [flat]

* Exception on call to isValid() method
@ 2007-03-05 17:16 Jeff Lanzarotta <delux256-postgresql@yahoo.com>
  2007-03-05 17:21 ` Re: Exception on call to isValid() method Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jeff Lanzarotta @ 2007-03-05 17:16 UTC (permalink / raw)
  To: pgsql-jdbc

Hello,

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





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Exception on call to isValid() method
  2007-03-05 17:16 Exception on call to isValid() method Jeff Lanzarotta <delux256-postgresql@yahoo.com>
@ 2007-03-05 17:21 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Kris Jurka @ 2007-03-05 17:21 UTC (permalink / raw)
  To: Jeff Lanzarotta <delux256-postgresql@yahoo.com>; +Cc: pgsql-jdbc



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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Exception on call to isValid() method
@ 2007-03-05 17:54 Jeff Lanzarotta <delux256-postgresql@yahoo.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Jeff Lanzarotta @ 2007-03-05 17:54 UTC (permalink / raw)
  To: pgsql-jdbc

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

----- Original Message ----
From: Kris Jurka <books@ejurka.com>
To: Jeff Lanzarotta <delux256-postgresql@yahoo.com>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.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@postgresql.org so that your
       message can get through to the mailing list cleanly






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Exception on call to isValid() method
@ 2007-03-05 18:34 Jeff Lanzarotta <delux256-postgresql@yahoo.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Jeff Lanzarotta @ 2007-03-05 18:34 UTC (permalink / raw)
  To: pgsql-jdbc

OK, found the JDBC4 driver. Now I get,

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?


----- Original Message ----
From: Jeff Lanzarotta <delux256-postgresql@yahoo.com>
To: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Sent: Monday, March 5, 2007 12:54:29 PM
Subject: Re: [JDBC] Exception on call to isValid() method

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

----- Original Message ----
From: Kris Jurka <books@ejurka.com>
To: Jeff Lanzarotta <delux256-postgresql@yahoo.com>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.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@postgresql.org so that your
       message can get through to the mailing list cleanly




---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org






^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-03-05 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05 17:16 Exception on call to isValid() method Jeff Lanzarotta <delux256-postgresql@yahoo.com>
2007-03-05 17:21 ` Kris Jurka <books@ejurka.com>
2007-03-05 17:54 Re: Exception on call to isValid() method Jeff Lanzarotta <delux256-postgresql@yahoo.com>
2007-03-05 18:34 Re: Exception on call to isValid() method Jeff Lanzarotta <delux256-postgresql@yahoo.com>

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