Java Tutorial Woes

You need to walk before you can run. My Java Tutorials may be linked from the DMOZ beginner’s level tutorial page, but I’d argue that Hibernate is an intermediate topic. So if you take my simple Hibernate application, change the database from the HSQLDB to HSQL and see the error message:

1
2
3
4
5
[java] net.sf.hibernate.HibernateException:
[java] JDBC Driver class not found: org.hsqldb.jdbcDriver
[java] at net.sf.hibernate. ...
[java] ...
[java] at Main.main(Unknown Source)

Then I really expect you to ask “Why is it looking for the HSQLDB JDBC driver (org.hsqldb.jdbcDriver) when I’m using HSQL?” on your own.