Skip to content

Commit e233f06

Browse files
committed
HHH-19446 HHH-18633 hibernate-scan-jandex migration guide
1 parent 2b37e20 commit e233f06

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

migration-guide.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,13 @@ specify a name for JNDI binding. The new behavior is as follows (assuming `hibe
627627
Hibernate can use the persistence-unit name for binding into JNDI as well, but `hibernate.session_factory_name_is_jndi`
628628
must be explicitly set to true.
629629

630+
[[jandex-scanning]]
631+
=== Entity Discovery
632+
633+
Entity discovery, i.e. automatic detection of mapped Java classes through classpath scanning, now requires by default the new `hibernate-scan-jandex` module. Standalone Hibernate ORM applications relying on this feature will need to add a dependency to this new module in order to continue using it.
634+
635+
Users can still provide custom `org.hibernate.Scanner` implementations via the `org.hibernate.boot.archive.scan.spi.ScannerFactory` service or the `hibernate.archive.scanner` configuration parameter.
636+
630637
[[unowned-order-column]]
631638
=== @OrderColumn in Unowned @OneToMany Associations
632639

0 commit comments

Comments
 (0)