Class JpaModelBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.hibernate.orm.deployment.JpaModelBuildItem

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

  • Method Details

    • 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, ...
    • getAllModelClassNames

      public Set<String> getAllModelClassNames()
      Returns:
      the list of all model class names: entities, mapped super classes, getPotentialCdiBeanClassNames()...
    • getXmlMappings

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