The Hibernate application in the tutorial is based on the Hibernate 2.1 Hibernate API. Hibernate 3 has some features different from Hibernate 2.1.
To migrate a Hibernate 2.1 application to Hibernate 3.0:
1. The net.sf.Hibernate package is replaced with org.hibernate package.
2. The net.sf.hibernate.tool.hbm2java.Hbm2JavaTask task is not included in Hibernate 3.0.
3. Some of the Session interface methods are deprecated; find(), iterate(), filter(), delete()
saveOrUpdateCopy() methods are deprecated.