Hibernate Downloads

Releases

4.3.0.Final   
2013-12-16  stable
Maven gav: org.hibernate:hibernate-core:4.3.0.Final
JPA 2.1 support
More on this release 
4.2.8.Final   
2013-12-04  stable
Maven gav: org.hibernate:hibernate-core:4.2.8.Final
ORM maintenance release, JPA 2.0
More on this release 
Older releases can be found  on SourceForge or in JBoss's  Maven repository.

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/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值