Browse Source

Document that Hibernate Search 5.11.6 is required for Spring JPA compatibility

Closes gh-26090
pull/26100/head
Juergen Hoeller 5 years ago
parent
commit
bc5a10c70d
  1. 13
      src/docs/asciidoc/data-access.adoc

13
src/docs/asciidoc/data-access.adoc

@ -7419,16 +7419,17 @@ exception hierarchies.
[[orm-hibernate]] [[orm-hibernate]]
=== Hibernate === Hibernate
We start with a coverage of https://hibernate.org/[Hibernate 5] in a Spring We start with a coverage of https://hibernate.org/[Hibernate 5] in a Spring environment,
environment, using it to demonstrate the approach that Spring takes towards integrating using it to demonstrate the approach that Spring takes towards integrating OR mappers.
OR mappers. This section covers many issues in detail and shows different variations This section covers many issues in detail and shows different variations of DAO
of DAO implementations and transaction demarcation. Most of these patterns can be implementations and transaction demarcation. Most of these patterns can be directly
directly translated to all other supported ORM tools. The later sections in this translated to all other supported ORM tools. The later sections in this chapter then
chapter then cover the other ORM technologies and show brief examples. cover the other ORM technologies and show brief examples.
NOTE: As of Spring Framework 5.3, Spring requires Hibernate ORM 5.2+ for Spring's NOTE: As of Spring Framework 5.3, Spring requires Hibernate ORM 5.2+ for Spring's
`HibernateJpaVendorAdapter` as well as for a native Hibernate `SessionFactory` setup. `HibernateJpaVendorAdapter` as well as for a native Hibernate `SessionFactory` setup.
Is is strongly recommended to go with Hibernate ORM 5.4 for a newly started application. Is is strongly recommended to go with Hibernate ORM 5.4 for a newly started application.
For use with `HibernateJpaVendorAdapter`, Hibernate Search needs to be upgraded to 5.11.6.
[[orm-session-factory-setup]] [[orm-session-factory-setup]]

Loading…
Cancel
Save