Package io.quarkus.hibernate.envers
Interface HibernateEnversBuildTimeConfig
@ConfigMapping(prefix="quarkus.hibernate-envers")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface HibernateEnversBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Whether Hibernate Envers is enabled during the build.static StringextensionPropertyKey(String radical) static StringpersistenceUnitPropertyKey(String persistenceUnitName, String radical) @WithUnnamedKey("<default>") Map<String,HibernateEnversBuildTimeConfigPersistenceUnit> Configuration for persistence units.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Whether Hibernate Envers is enabled during the build. If Hibernate Envers is disabled during the build, all processing related to Hibernate Envers will be skipped, and the audit entities will not be added to the Hibernate ORM metamodel nor to the database schema that Hibernate ORM generates, but it will not be possible to use Hibernate Envers at runtime: `quarkus.hibernate-envers.active` will default to `false` and setting it to `true` will lead to an error. -
persistenceUnits
@WithParentName @WithUnnamedKey("<default>") @ConfigDocMapKey("persistence-unit-name") @WithUnnamedKey("<default>") Map<String,HibernateEnversBuildTimeConfigPersistenceUnit> persistenceUnits()Configuration for persistence units. -
extensionPropertyKey
-
persistenceUnitPropertyKey
-