Uploaded image for project: 'Hibernate ORM'
  1. HHH-10243

document package registration for Hibernate 5

    Details

    • Last commented by a user?:
      true
    • Sprint:

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: