有谁能解释一下:
我正在使用以下版本,我正在努力弄清楚是否应该升级:
<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>发布于 2010-07-24 06:23:15
ga,GA和最终的Hibernate版本之间的区别?
最终版是“新的”JBoss convention,它取代了旧的GA (通用可用性)约定。
我应该使用maven存储库还是jboss nexus存储库?
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>为什么最新的compatibility matrix没有列出高于3.2.6GA的任何内容?
好吧,对于3.5之前的版本,它支持!
从3.5.x版本开始,不再需要兼容性矩阵,因为Hibernate核心、Hibernate注释和Hibernate EntityManager一起发布。
我正在使用以下版本,我正在努力弄清楚是否应该升级:
如果您想使用Hibernate Entity Manager的终极JPA 1.0版本,只需声明以下内容:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.4.O.GA</version>
</dependency>并且您将传递地获得其他工件。
https://stackoverflow.com/questions/3321823
复制相似问题