ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Hibernate for Java SE
Subject:   Hibernate 3.0
Date:   2005-11-17 17:35:58
From:   dvohra09
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.

1 to 3 of 3
1 to 3 of 3