Portál AbcLinuxu, 27. července 2025 17:53
java.lang.AbstractMethodError: org.postgresql.jdbc3.Jdbc3Statement.isClosed()Obdobně se chová i implementace ResultSet. Verze JDBC 8.1.407. Je za tím obyčejná chyba,která bude odstraněna, nebo je nějaký větší problém s touto metodou a PostgreSQL.
Ono v podstatě není co, dotyčná část volající kódu.
protected boolean isResultSetFail() { if (resultSet == null) return true; try { if (resultSet.isClosed()) return true; } catch (Throwable e) { handleException(e); System.out.println(e.getMessage()); e.printStackTrace(); return true; } return false; }
Výpis chyby
org.postgresql.jdbc3.Jdbc3ResultSet.isClosed()Z java.lang.AbstractMethodError: org.postgresql.jdbc3.Jdbc3ResultSet.isClosed()Z at cz.zah.db.SQLTableModel.isResultSetFail(SQLTableModel.java:1280)
Toto praví dokumentace. Vypadá to na mix knihoven, ale nejsem si ho vědom.
Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of some class has incompatibly changed since the currently executing method was last compiled.
Zkusím přeinstalovat knihovny a uvidíme.
Chodi vše velmi velmi dobře problém je pouze isclose v ResultSet a Statement.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.