java - hibernate 困惑。 ga、GA 和 Final Releases 之间有什么区别?兼容性?存储库?

标签 java hibernate maven-2 compatibility

谁能解释一下:
1. ga、GA 和 Final Hibernate 版本之间的区别?
2.我应该使用 maven 存储库还是 jboss nexus 存储库?
3.为什么最新的兼容性矩阵 (http://community.jboss.org/wiki/HibernateCompatibilityMatrix) 没有列出任何高于 3.2.6GA 的版本?

我使用的是以下版本,我正在努力弄清楚是否应该升级:

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>3.2.6.ga</version>
        </dependency>           
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-annotations</artifactId>
            <version>3.3.0.ga</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>3.3.0.ga</version>
        </dependency>        
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>3.3.1.ga</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-tools</artifactId>
            <version>3.2.0.ga</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>3.0.0.ga</version>
        </dependency>

最佳答案

The difference between ga, GA and Final Hibernate releases?

最后是"new"JBoss convention并取代旧的 GA(通用性)约定。

Should I use the maven repository or the jboss nexus repository?

JBoss 工件的最终版本可能在中央 存储库中不可用。如果您想使用最终版本(例如 Hibernate 3.5.3-Final),请使用 JBoss Nexus repository .

<repositories>
  <repository>
    <id>jboss-public-repository-group</id>
    <name>JBoss Public Repository Group</name>
    <url>https://repository.jboss.org/nexus/content/groups/public</url>
  </repository>
</repositories>

Why does the latest compatibility matrix not list anything higher than 3.2.6GA?

好吧,对于 3.5 之前的版本,可以!

从 3.5.x 版本开始,不再需要兼容性矩阵,因为 Hibernate Core、Hibernate Annotations 和 Hibernate EntityManager 是一起发布的。

I'm using the following versions and I'm having the hardest time trying to figure out if I should upgrade:

如果您想使用 Hibernate Entity Manager 的终极 JPA 1.0 版本,只需声明以下内容:

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>3.4.O.GA</version>
</dependency>

并且您将获得其他工件。

关于java - hibernate 困惑。 ga、GA 和 Final Releases 之间有什么区别?兼容性?存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3321823/

相关文章:

java - 没有可用类型的合格 bean

java - (Azure SDK java)如何使用Java程序启用/禁用每个功能

hibernate - 使用Hibernate和PostGIS在同一查询中获取距离和域属性

java - JPA Base64 生成器

maven-2 - 如何使用maven原型(prototype)创建空文件夹?

java - 如何在Java中获取时区小时和分钟?

具有更多数据源的 spring jpa hibernate

java - 是否可以明确告诉 Maven 下载工件并将其安装到本地存储库?

java - Maven 程序集中是否有程序集 id 属性?

java - 每种纹理都有一个 OpenGL ES 程序?