HHH-9816 - Document exclude-unlisted-classes and hibernate.archive.autodetection in the manual

This commit is contained in:
Vlad Mihalcea 2016-11-01 16:29:32 +02:00
parent 380b474dda
commit c0ddfbb3df
1 changed files with 2 additions and 1 deletions

View File

@ -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) |