谁能解释一下:
1. ga、GA 和 Hibernate 最终版本之间的区别?
2. 我应该使用maven存储库还是jboss nexus存储库?
3. 为什么最新的兼容性矩阵(http://community.jboss.org/wiki/HibernateCompatibilityMatrix 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>
ga、GA 和 Hibernate 最终版本之间的区别?
最后是“新”JBoss大会 http://community.jboss.org/wiki/JBossProjectVersioning并替换旧的 GA(对于一般可用性) 习俗。
我应该使用 Maven 存储库还是 jboss nexus 存储库?
JBoss 工件的最终版本可能不可用central存储库。如果您想使用终极版本(例如 Hibernate 3.5.3-Final),请使用JBoss Nexus 存储库 https://repository.jboss.org/nexus/content/groups/public.
<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>
为什么最新的兼容性矩阵 http://community.jboss.org/wiki/HibernateCompatibilityMatrix没有列出高于 3.2.6GA 的任何东西?
那么,对于 3.5 之前的版本,it does!
从 3.5.x 版本开始,由于 Hibernate Core、Hibernate Annotations 和 Hibernate EntityManager 一起发布,因此不再需要兼容性矩阵。
我正在使用以下版本,并且我很难确定是否应该升级:
如果您想使用 Hibernate Entity Manager 的最终 JPA 1.0 版本,只需声明以下内容:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.4.O.GA</version>
</dependency>
并且您将间接获得其他工件。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)