I’m using Postgresql 8. What is the version of the driver you’re using? Now I’m using 9. Sign up or log in Sign up using Google. Exception in thread “main” java. The problem were not in the connection String or the Driver version, the problem were in the code directly above the getConnection method:.
|Date Added:||4 May 2010|
|File Size:||25.79 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Now I’m using 9.
PostgreSQL JDBC Driver 42.2.5 Released
I’ve registered the driver: On the other hand: If new methods are added to an interface, classes that do not have these methods and were – for example – compiled against an older version of the interface, can still be loaded and used provided the new methods are not called.
Also, what’s your JVM version? Please show the full code of your test. Sign potgresql or log in Sign up using Google.
Maven Repository: postgresql » postgresql » jdbc3
Sign up using Facebook. Sign up using Email and Password. You might want to consider compiling your own version, or ask on the pgsql-jdbc mailinglist if there are recent snapshots available the snapshots link on http: Exception in thread “main” java. I’d need to see a standalone test case to help you further.
Download postgresql JAR jdbc3 ➔ With all dependencies!
However the current code on github does provide an implementation since April this year. Missing methods will be stubbed by code that simply throws an AbstractMethodError.
Stefano Vercellino 4 Java provides a form of forward compatibility for classes implementing an interface. It seems postgresql driver doesn’t have getSchema method, as the java console were often trying to say to me. What is the version of the driver you’re using? I’m using Postgresql pkstgresql.