Binary ReleasesPlease see our License FAQ before downloading. The latest releases are
- Hibernate 2.1.4 (02.06.2004) recommended
- Hibernate 2.0.3 (27.08.2003)
- Hibernate 1.2.5 (10.05.2003)
- Hibernate Extensions 2.1.2 (25.04.2004)
Download from SourceForge, View release notes and changelog
CVS The Hibernate CVS repository is hosted by SourceForge (CVS manual). To log in anonymously, type
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/hibernate login
When prompted for a password, hit enter. The Hibernate 2.x sourcetree is kept in a module named Hibernate2, Hibernate3 can be found in Hibernate3. To check out a module, type:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/hibernate -P checkout Hibernate2
The CVS repository is also browsable online via ViewCVS. The nightly snapshots of the CVS modules might not be up-to-date if the SourceForge CVS service is not available. Browse CVS repository, Download nightly snapshots
Compiling HibernateRun build.xml with Ant 1.5 under JDK1.2 or later. We've heard of incompatibility problems with JDK/JRE on FreeBSD, you may have to recompile Hibernate. From the hibernate-x.x.x directory (or Hibernate2 CVS directory), type
- ant - build the hibernate2.jar
- ant junitreport - run tests using HSQL and report to test_output
- ant rar - build the JCA hibernate2.rar
- ant javadoc - build the API documentation
- ant refdoc - build the reference documentation (only for full CVS checkout)
- ant dist - build the distribution (only for full CVS checkout)
- ant clean - clean up
To run the tests against some other database, first edit src/hibernate.properties. Then run
ant -Djdbc.driver=<jdbc driver classpath> junitreport
You may need to add junit.jar to your $ANT_HOME/lib directory if it is not there already. If you don't have Ant installed on your machine then, on Windows, just run build.bat (Hibernate comes packaged with the Ant jars).
Supporting HibernateIf you're a Hibernate user and like to support our project, feel free to add a Hibernate logo to your Hibernate-powered website. We offer three different versions suitable for integration on our logo download page, with some example HTML code fragments for your convenience.
|