gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-03 04:21:31 25 4
gpt4 key购买 nike

谁能解释一下:
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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com