Class PersistenceUnitDescriptorBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.hibernate.orm.deployment.PersistenceUnitDescriptorBuildItem
public final class PersistenceUnitDescriptorBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Not to be confused with PersistenceXmlDescriptorBuildItem, which holds
items of the same type.
This build item represents a later phase, and might include the implicit
configuration definitions that are automatically defined by Quarkus.
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceUnitDescriptorBuildItem(io.quarkus.hibernate.orm.runtime.boot.QuarkusPersistenceUnitDescriptor descriptor, io.quarkus.hibernate.orm.runtime.recording.RecordedConfig config, String multiTenancySchemaDataSource, List<io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping> xmlMappings, boolean fromPersistenceXml, boolean isHibernateValidatorPresent, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> jsonMapper, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> xmlMapper) -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.hibernate.orm.runtime.boot.QuarkusPersistenceUnitDefinitionasOutputPersistenceUnitDefinition(List<io.quarkus.hibernate.orm.runtime.integration.HibernateOrmIntegrationStaticDescriptor> integrationStaticDescriptors) io.quarkus.hibernate.orm.runtime.recording.RecordedConfigbooleanbooleanbooleanboolean
-
Constructor Details
-
PersistenceUnitDescriptorBuildItem
public PersistenceUnitDescriptorBuildItem(io.quarkus.hibernate.orm.runtime.boot.QuarkusPersistenceUnitDescriptor descriptor, io.quarkus.hibernate.orm.runtime.recording.RecordedConfig config, String multiTenancySchemaDataSource, List<io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping> xmlMappings, boolean fromPersistenceXml, boolean isHibernateValidatorPresent, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> jsonMapper, Optional<io.quarkus.hibernate.orm.runtime.customized.FormatMapperKind> xmlMapper)
-
-
Method Details
-
getManagedClassNames
-
getExplicitSqlImportScriptResourceName
-
getPersistenceUnitName
-
getConfig
public io.quarkus.hibernate.orm.runtime.recording.RecordedConfig getConfig() -
getMultiTenancySchemaDataSource
-
hasXmlMappings
public boolean hasXmlMappings() -
isFromPersistenceXml
public boolean isFromPersistenceXml() -
isReactive
public boolean isReactive() -
isHibernateValidatorPresent
public boolean isHibernateValidatorPresent() -
asOutputPersistenceUnitDefinition
public io.quarkus.hibernate.orm.runtime.boot.QuarkusPersistenceUnitDefinition asOutputPersistenceUnitDefinition(List<io.quarkus.hibernate.orm.runtime.integration.HibernateOrmIntegrationStaticDescriptor> integrationStaticDescriptors)
-