Re: How can this abstract method error happen? - Mailing list pgsql-jdbc

From Pawel Veselov
Subject Re: How can this abstract method error happen?
Date
Msg-id CAMnJ+Bdgg=jNu7YvEPVjJJzGMaRmqwPWhKR_gt86MAoR2suAEQ@mail.gmail.com
Whole thread Raw
In response to Re: How can this abstract method error happen?  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: How can this abstract method error happen?  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
On Mon, Jan 13, 2014 at 4:29 PM, Dave Cramer <pg@fastcrypt.com> wrote:
Is there anything else in the exception chain ?

Nope, but I don't see how there would be.
 

On Mon, Jan 13, 2014 at 6:26 PM, Pawel Veselov <pawel.veselov@gmail.com> wrote:
Hi.

I'm getting an abstract method error problem with Postgres JDBC (top of exception trace:http://pastebin.com/xsDKSdiE). There isn't a stable way to reproduce this that I found. The driver is 9.1-902.

I don't quite understand how this can even happen. Looks like all the all statement object are created by the connection object, and all connection objects are created by the Driver. Driver always creates connection version 4, and that connection always creates statements version 4, so it should always implement isClosed(). I never ever used any earlier drivers (so I don't think there is C/P mess up, but I grepped my class path too).

Can anything else ever create a connection object, which can be of earlier version?

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: How can this abstract method error happen?
Next
From: Dave Cramer
Date:
Subject: Re: How can this abstract method error happen?