[kaffe] hsqldb - Abstract method in non-abstract class error
Jim Pick
jim at kaffe.org
Thu Jul 31 18:39:02 PDT 2003
Hi,
I'd like to use hsqldb 1.7.1 for the simple regression testing reporting
thing I'm writing to install on kaffe.org, but I'm running into a bug.
It's super cool, BTW. Get it here:
http://hsqldb.sourceforge.net/
Here's a trivial example, that creates a SQL table in-memory.
import java.sql.*;
public class TestHSQLDB {
public static void main(String[] args)
throws ClassNotFoundException, SQLException {
Class.forName("org.hsqldb.jdbcDriver");
Connection con = DriverManager.getConnection(
"jdbc:hsqldb:.", "sa", "");
Statement stmt = con.createStatement();
stmt.executeUpdate("create table TestResults " +
"(codebase varchar(50), " +
" branch varchar(50), " +
" change integer, " +
" category varchar(128), " +
" status varchar(20) )");
}
}
$ kaffe -cp .:../webapp/WEB-INF/lib/hsqldb.jar TestHSQLDB
java.lang.ClassFormatError: (class: org/hsqldb/jdbcConnection, method: setHoldability signature: (I)V) Abstract method in non-abstract class
at java.sql.DriverManager.getConnection (DriverManager.java:164)
at java.sql.DriverManager.getConnection (DriverManager.java:188)
at TestHSQLDB.main (TestHSQLDB.java:10)
This blocks me, so I'll definitely dive into it this weekend - but I
thought somebody on the list might be able to fix it faster.
Cheers,
- Jim
More information about the kaffe
mailing list