File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
hibernate-core/src/main/java/org/hibernate/cfg Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -142,11 +142,14 @@ public interface PersistenceSettings {
142142
143143 /**
144144 * Identifies a comma-separated list of values indicating the types of things we should
145- * auto-detect during scanning. Allowable values include:
145+ * autodetect during scanning. Allowable values include:
146146 * <ul>
147147 * <li>{@code "class"} specifies that {@code .class} files are discovered as managed classes
148148 * <li>{@code "hbm"} specifies that {@code hbm.xml} files are discovered as mapping files
149149 * </ul>
150+ * When {@code .class} discovery is enabled, the module {@code hibernate-scan-jandex}
151+ * must be added as a dependency, or some other implementation of the service
152+ * {@link org.hibernate.boot.archive.scan.spi.ScannerFactory} must be made available.
150153 *
151154 * @see org.hibernate.boot.MetadataBuilder#applyScanOptions
152155 */
You can’t perform that action at this time.
0 commit comments