AbstractMethodError when calling getSchema if it does not exist in the implementation. The problem were not in the connection String or the Driver version, the problem were in the code directly above the getConnection method:. Email Required, but never shown. It seems postgresql driver doesn’t have getSchema method, as the java console were often trying to say to me.. Post as a guest Name.
Uploader: | Mubei |
Date Added: | 6 August 2010 |
File Size: | 7.19 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 68874 |
Price: | Free* [*Free Regsitration Required] |
Post as a guest Name. Also, what’s your JVM version? AbstractMethodError when calling getSchema if it does not exist in the implementation. Now I’m using 9.
Driver ; and then trying the connection: Missing methods will be stubbed by code that simply throws an AbstractMethodError. It seems postgresql driver doesn’t have getSchema method, as the java console were often trying to say to me.
The problem were not in the connection String or the Driver version, the problem were in the code directly above the getConnection method:. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.
Please show the full code of your test. If new methods are added to an interface, classes that posttresql 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.
By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.
Stack Overflow works best with JavaScript enabled.
Download postgresql JAR jdbc3 ➔ With all dependencies!
Sign up or log in Sign up using Google. Stefano Vercellino 4 This means that it is not necessarily available in a JDBC 3 or 4 driver although if an implementation exists, it will get called. Short version after discussion on comments – same error with Class.
I’m missing something but I don’t know what.
Package org.postgresql.jdbc3
Sign up using Email and Password. Email Required, but never shown. I’ve registered the driver:.
I’d need to see a standalone test case to help you further. On the other hand: I’ve registered the driver: I’m using Postgresql 8.
Ubuntu – File list of package libpostgresql-jdbc-java/trusty/all
Postgresqp the current code on github does provide an implementation since April this year. Sign up using Facebook. 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: Java provides a form of forward compatibility for classes implementing an interface.
What is the version of the driver you’re using? Exception in thread “main” java.