英文:
Hibernate search 6 with Hibernate 6.2.5
问题
我正尝试将我的应用程序从Spring Boot 2.7.6迁移到3.1.0,它使用Jakarta API和Hibernate 6.2.5。我使用的Hibernate Search版本是6.1.5,它依赖于Hibernate Core 5.6.8。我的问题是是否有办法在Hibernate 6.2.5和Spring Boot 3.1中使用Hibernate Search,还是这仍然在进行中?
英文:
I'm trying to migrate my application from spring boot 2.7.6 to 3.1.0 which uses jakarta api and hibernate 6.2.5. The version of the hibernate search that I use is 6.1.5 which depends on hibernate-core 5.6.8. My question is there a way to use hibernate search with hibernate 6.2.5 and spring boot 3.1 or this is still a work in progress?
答案1
得分: 2
Hibernate Search也支持Hibernate ORM 6,您可以使用 -orm6
版本的构件。
<!-- 其他Hibernate Search依赖项 -->
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm-orm6</artifactId>
<version>6.1.8.Final</version>
</dependency>
更多详情请参阅 https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#other-integrations-orm6。
英文:
Hibernate Search supports Hibernate ORM 6 as well, you would want to use the -orm6
versions of the artifacts.
<!-- other Hiberante Search dependencies -->
<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-mapper-orm-orm6</artifactId>
<version>6.1.8.Final</version>
</dependency>
See https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#other-integrations-orm6 for more details.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论