sqlline
sqlline copied to clipboard
java.lang.AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method 'abstract boolean isClosed()' of interface java.sql.ResultSet.
Hello!
I was trying to use sqlline with an older system/driver and encountered the below error:
It seems like this happens if the driver was built with an older version of java (different driver, same issue): https://www.ibm.com/support/pages/why-does-isclosed-throw-exception-when-used-resultset
Joe
Can you give more details:
- What JDK was the driver built on?
- What JDK are you running on?
- When was the isClosed() method introduced?
i saw your proposed fix #482 but I don't think that catching errors is a good idea. If a driver doesn't have the required methods to run on a particular JDK I don't think that sqlline should be trying to apply duck tape.