Releases
-
4.3.0.Final
- 2013-12-16 stable
- Maven gav: org.hibernate:hibernate-core:4.3.0.Final
- JPA 2.1 support
-
4.2.8.Final
- 2013-12-04 stable
- Maven gav: org.hibernate:hibernate-core:4.2.8.Final
- ORM maintenance release, JPA 2.0
Supported JPA Versions
-
JPA 1.0: ORM 3.2+
-
JPA 2.0: ORM 3.5+
-
JPA 2.1: ORM 4.3+
Note that newer ORM releases are backwards compatible with older JPA versions (ex: ORM 4.3 with JPA 1.0). However, newer ORM releases may not be compatible with older JPA containers.
Maven repository
Hibernate ORM publishes Maven project artifacts to the JBoss Maven Repository under org.hibernate. For more information on how to configure Maven to use JBoss’s repository, look here or use mvn install -s setting-example.xml
.
Here is how to declare the various dependencies in your Maven POM file
Maven dependency
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.3.0.Final</version>
</dependency>
<!-- for JPA, use hibernate-entitymanager instead of hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>4.3.0.Final</version>
</dependency>
<!-- optional -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-osgi</artifactId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-proxool</artifactId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-infinispan</artifactId>
<version>4.3.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>4.3.0.Final</version>
</dependency>
出自:http://hibernate.org/orm/downloads/
http://sourceforge.net/projects/hibernate/files/hibernate4/