Here are some remarks on the first chapter of the "Java Persistence with Hibernate" book, ediition: Fifth, corrected printing, November 2007
p.42 Creating the work directory:
The listing of jars in the lib directory is incomplete. To get a working example I needed several more jars:
antlr-2.7.6.jar
asm-2.2.3.jar
asm-attrs.jar
c3p0-0.9.1.jar
cglib-2.2.jar
commons-collections-2.1.1.jar
commons-collections.jar
commons-logging-1.1.1.jar
dom4j.jar
hibernate3.jar
hibernate-tools.jar
hsqldb-1.8.0.7.jar
javassist.jar
jta.jar
log4j-1.2.15.jar
log4j-over-slf4j-1.5.3.jar
persistence.jar
p.66 last alinea:
The command 'ant schemaxport' should be 'ant schemaexport'.
The online available files in the archive
http://www.hibernate.org/hib_files/jpwh ... 070401.zip does not contain a working version of the first example (p.37-68).