0 Replies Latest reply: Sep 18, 2009 1:09 AM by 843849 RSS

    j2me-cdc cr-eme 4.12 and hsqldb-cdc-1.8-b.jar

    843849
      I have hsqldb working where I can execute sql statements but when I try and executeQuery() (where a resultSet is returned) I always get:

      java.lang.IncompatibleClassChangeError: Unimplemented interface method
      at org.hsqldb.jdbc.jdbcStatement.executeQuery(sql)



      so this code works:
      (con is a Connection type)


      Statement stmt = null;
      ResultSet rs = null;

      try {
      stmt = con.createStatement();
      stmt.execute(sql);

      ....


      this code gives the error:

      Statement stmt = null;
      ResultSet rs = null;

      try {
      stmt = con.createStatement();
      stmt.executeQuery(sql);

      ....




      any Ideas would be appreciated.