Class JpaModelBuildItem


  • public final class JpaModelBuildItem
    extends io.quarkus.builder.item.SimpleBuildItem
    Internal model to represent which objects are likely needing enhancement via HibernateEntityEnhancer.
    • Method Detail

      • getAllModelPackageNames

        public Set<String> getAllModelPackageNames()
        Returns:
        the list of packages annotated with a JPA annotation.
      • getEntityClassNames

        public Set<String> getEntityClassNames()
        Returns:
        the list of entities (i.e. classes marked with Entity)
      • getManagedClassNames

        public Set<String> getManagedClassNames()
        Returns:
        the list of managed class names: entities, mapped super classes and embeddables only.
      • getPotentialCdiBeanClassNames

        public Set<org.jboss.jandex.DotName> getPotentialCdiBeanClassNames()
        Returns:
        the list of classes that might be retrieved by Hibernate ORM as CDI beans, e.g. converters, listeners, ...
      • getXmlMappings

        public List<RecordableXmlMapping> getXmlMappings​(String puName)
        Returns:
        the list of all XML mappings for the given persistence unit.