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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.jboss.jandex.DotName> List<io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping> getXmlMappings(String puName) Deprecated.
-
Constructor Details
-
JpaModelBuildItem
-
-
Method Details
-
getAllModelPackageNames
- Returns:
- the list of packages annotated with a JPA annotation.
-
getEntityClassNames
- Returns:
- the list of entities (i.e. classes marked with
Entity)
-
getManagedClassNames
- Returns:
- the list of managed class names: entities, mapped super classes and embeddables only.
-
getPotentialCdiBeanClassNames
- Returns:
- the list of classes that might be retrieved by Hibernate ORM as CDI beans, e.g. converters, listeners, ...
-
getAllModelClassNames
- Returns:
- the list of all model class names: entities, mapped super classes,
getPotentialCdiBeanClassNames()...
-
getXmlMappingsByPU
public Map<String,List<io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping>> getXmlMappingsByPU()- Returns:
- the list of all XML mappings by persistence unit.
-
getXmlMappings
@Deprecated(since="3.38") public List<io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping> getXmlMappings(String puName) Deprecated.UsegetXmlMappingsByPU()instead.- Returns:
- the list of all XML mappings for the given persistence unit.
-
getXmlMappingsByPU()instead.