Class AdditionalJpaModelBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.hibernate.orm.deployment.spi.AdditionalJpaModelBuildItem
public final class AdditionalJpaModelBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Additional Jpa model class that we need to index
- Author:
- Stéphane Épardaud
-
Constructor Summary
ConstructorsConstructorDescriptionAdditionalJpaModelBuildItem(String className) Deprecated, for removal: This API element is subject to removal in a future version.AdditionalJpaModelBuildItem(String className, Set<String> persistenceUnits) -
Method Summary
-
Constructor Details
-
AdditionalJpaModelBuildItem
Deprecated, for removal: This API element is subject to removal in a future version.UseAdditionalJpaModelBuildItem(String, Set)instead, which should fit the use case of JBeret better. -
AdditionalJpaModelBuildItem
- Parameters:
className- The name of the additional class.persistenceUnits- The name of persistence units to which this class should be added even if the application does not request it explicitly (e.g. using `quarkus.hibernate-orm.packages`). Note the class can still be added to a persistence unit at static init through other means -- for example Hibernate Envers and Hibernate Search use. In such case the set of persistence units can be empty, and the build item will only ensure build-time processing (Jandex indexing, bytecode enhancement, proxy generation, reflection enablement, ...) happens as expected.invalid reference
org.hibernate.boot.spi.AdditionalMappingContributor
-
-
Method Details
-
getClassName
-
getPersistenceUnits
-
AdditionalJpaModelBuildItem(String, Set)instead, which should fit the use case of JBeret better.