Download and unpack the Hibernate Annotations distribution from the Hibernate website.
This release requires Hibernate 3.2.0.GA and above. Do not use this release of Hibernate Annotations with an older version of Hibernate 3.x!
This release is known to work on Hibernate core 3.2.0.CR5, 3.2.0.GA and 3.2.1.GA
Make sure you have JDK 5.0 installed. You can of course continue using XDoclet and get some of the benefits of annotation-based metadata with older JDK versions. Note that this document only describes JDK 5.0 annotations and you have to refer to the XDoclet documentation for more information.