Chapter 2. Setting up an annotations project

2.1. Requirements

  • Download and unpack the Hibernate Annotations distribution from the Hibernate website.
  • This release requires Hibernate Core 3.3 and above.
  • This release is known to work on Hibernate Core 3.3.0.SP1
  • Make sure you have JDK 5.0 installed or above. 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.