document package registration for Hibernate 5

Description

Hibernate 4 supported adding packages to scan (specifically, for being able to find annotations such as generators applied to package-info.java) by calling Configuration#addPackage(String). This method has been removed in Hibernate 5 with the configuration overhaul, and I cannot determine how to tell Hibernate to scan at the package level. The documentation section that I would expect to describe that is a "todo", and I didn't find a particularly promising-looking candidate in MetadataBuildingOptions, which seemed like the place to go.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Christopher Smith

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure