From c0ddfbb3dfda4c0f41ae3c8c5d50c926428d232e Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Tue, 1 Nov 2016 16:29:32 +0200 Subject: [PATCH] HHH-9816 - Document exclude-unlisted-classes and hibernate.archive.autodetection in the manual --- .../src/main/asciidoc/userguide/appendices/Configurations.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc b/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc index e86f095ff5..649fcc80d6 100644 --- a/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc +++ b/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc @@ -220,7 +220,8 @@ Allowable values include: By default both HBM, annotations, and JPA XML mappings are scanned. -When using JPA, to disable the automatic scanning of all entity classes, the `exclude-unlisted-classes` `persistence.xml` element must be set to false. +When using JPA, to disable the automatic scanning of all entity classes, the `exclude-unlisted-classes` `persistence.xml` element must be set to true. +Therefore, when setting `exclude-unlisted-classes` to true, only the classes that are explicitly declared in the `persistence.xml` configuration files are going to be taken into consideration. |`hibernate.mapping.precedence` | `hbm,class` (default value) |