Hibernate混乱。 ga,GA和Final Releases之间有什么区别?兼容性?库? [英] Hibernate confusion. What are the differences between ga, GA and Final Releases? Compatibility? Repository?

查看:117
本文介绍了Hibernate混乱。 ga,GA和Final Releases之间有什么区别?兼容性?库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解释:


1。 ga,GA和Final Hibernate版本之间的区别?


2。我应该使用Maven存储库还是使用jboss nexus存储库?


3。为什么最新的兼容性矩阵( http://community.jboss.org/wiki/HibernateCompatibilityMatrix )没有列出高于3.2.6GA的任何东西?



我正在使用以下版本,我正在尝试弄清楚是否应该升级:\\ b
$ b

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


解决方案


,GA和最终Hibernate发布?

最后是新 rel = noreferrer> JBoss约定并取代旧的GA(用于 General Availability )约定。


我应该使用Maven存储库还是jboss nexus存储库?

最终版本的JBoss工件可能无法在中央存储库中使用。如果你想使用终极版本(例如Hibernate 3.5.3-Final),可以使用 JBoss Nexus存储库

 < repositories> 
< repository>
< id> jboss-public-repository-group< / id>
< name> JBoss公共存储库组< /名称>
< url> https://repository.jboss.org/nexus/content/groups/public< / url>
< / repository>
< / repositories>




为什么最新的兼容性矩阵没有列出高于3.2.6GA的任何东西?

好吧,对于3.5之前的版本,它确实



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


我正在使用以下版本,并且我正在尝试弄清楚是否应该升级:\\ b $ b / blockquote>

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

 <依赖性> 
< groupId> org.hibernate< / groupId>
< artifactId> hibernate-entitymanager< / artifactId>
< version> 3.4.O.GA< / version>
< /依赖关系>

而且你会得到其他的神器。


Can anyone please explain:
1. The difference between ga, GA and Final Hibernate releases?
2. Should I use the maven repository or the jboss nexus repository?
3. Why does the latest compatibility matrix (http://community.jboss.org/wiki/HibernateCompatibilityMatrix) not list anything higher than 3.2.6GA?

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

        <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?

Final is the "new" JBoss convention and replaces the old GA (for General Availability) convention.

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

Ultimate versions of JBoss artifacts might not be available in the central repository. If you want to use ultimate versions (e.g. Hibernate 3.5.3-Final), use the 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?

Well, for versions prior to 3.5, it does!

As of version 3.5.x versions, there is no need for the compatibility matrix anymore since Hibernate Core, Hibernate Annotations and Hibernate EntityManager are released together.

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

If you want to use the ultimate JPA 1.0 version of Hibernate Entity Manager, simply declare the following:

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

And you will get other artifacts transitively.

这篇关于Hibernate混乱。 ga,GA和Final Releases之间有什么区别?兼容性?库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆