>>501
try{
List list = new ArrayList();
Class.forName("org.hsqldb.jdbcDriver");
String url = "jdbc:hsqldb:hsql://localhost";
Connection con = DriverManager.getConnection(url, "sa", "");

String selectStatement ="select * from books where title like ? or author like ?"
temp="error1!";
PreparedStatement Stmt =con.prepareStatement(selectStatement);
temp="error2!";
Stmt.setString(1,"%Unix%");
Stmt.setString(2,"%Unix%");
temp="error3!";
ResultSet rs = Stmt.executeQuery();

while (rs.next()) {
(途中略)
}catch (ClassNotFoundException e) {
temp="ClassNotFoundException";
e.printStackTrace();
}catch (SQLException e) {
temp="SQLException:"+temp;
e.printStackTrace();
}
とtempに何処までプログラムを読んだか見るための変数を用意して試したところ、
tempには、"SQLException:error1"が入ってました。よって
PreparedStatement Stmt =con.prepareStatement(selectStatement);
が怪しいとふんだのですが、結局別に文法も間違っていないようだし、どうしたらいいかわからないのです。。

>>503
;をつけましたが、はやりエラーです。。