Uses of Enum Class
org.hibernate.generator.EventType
Packages that use EventType
Package
Description
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
Contains a framework of strategies for efficient retrieval of
database-generated values.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Contains a framework of strategies for retrieving database-generated ids.
Contains the
UuidGenerator
.This package abstracts persistence mechanisms for entities.
Most contracts here have been replaced by the new runtime
mapping model.
-
Uses of EventType in org.hibernate.boot.jaxb.mapping
Methods in org.hibernate.boot.jaxb.mapping that return types with arguments of type EventTypeModifier and TypeMethodDescriptionGenerationTiming.getEventTypes()
Return the equivalent set of event types -
Uses of EventType in org.hibernate.boot.models.annotations.internal
Methods in org.hibernate.boot.models.annotations.internal that return EventTypeMethods in org.hibernate.boot.models.annotations.internal with parameters of type EventType -
Uses of EventType in org.hibernate.generator
Fields in org.hibernate.generator with type parameters of type EventTypeModifier and TypeFieldDescriptionEventTypeSets.ALL
EventTypeSets.INSERT_AND_UPDATE
EventTypeSets.INSERT_ONLY
EventTypeSets.NONE
EventTypeSets.UPDATE_ONLY
Methods in org.hibernate.generator that return EventTypeModifier and TypeMethodDescriptionstatic EventType
Returns the enum constant of this class with the specified name.static EventType[]
EventType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.hibernate.generator that return types with arguments of type EventTypeModifier and TypeMethodDescriptionAssigned.getEventTypes()
Generator.getEventTypes()
The event types for which this generator should be called to produce a new value.Methods in org.hibernate.generator with parameters of type EventType -
Uses of EventType in org.hibernate.generator.internal
Methods in org.hibernate.generator.internal that return types with arguments of type EventTypeModifier and TypeMethodDescriptionCurrentTimestampGeneration.getEventTypes()
GeneratedAlwaysGeneration.getEventTypes()
GeneratedGeneration.getEventTypes()
SourceGeneration.getEventTypes()
Deprecated.TenantIdGeneration.getEventTypes()
VersionGeneration.getEventTypes()
Methods in org.hibernate.generator.internal with parameters of type EventTypeModifier and TypeMethodDescriptionCurrentTimestampGeneration.generate
(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) SourceGeneration.generate
(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) Deprecated.TenantIdGeneration.generate
(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) VersionGeneration.generate
(SharedSessionContractImplementor session, Object owner, Object current, EventType eventType) Constructor parameters in org.hibernate.generator.internal with type arguments of type EventType -
Uses of EventType in org.hibernate.generator.values
Methods in org.hibernate.generator.values that return EventTypeModifier and TypeMethodDescriptionAbstractGeneratedValuesMutationDelegate.getTiming()
GeneratedValuesMutationDelegate.getTiming()
Returns the timing this generated values delegate handles.Constructors in org.hibernate.generator.values with parameters of type EventTypeModifierConstructorDescriptionAbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing) AbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) -
Uses of EventType in org.hibernate.generator.values.internal
Methods in org.hibernate.generator.values.internal with parameters of type EventTypeModifier and TypeMethodDescriptionGeneratedValuesHelper.createMappingProducer
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) Utility method that instantiates aJdbcValuesMappingProducer
so it can be cached by thedelegates
when they are instantiated.static GeneratedValues
GeneratedValuesHelper.getGeneratedValues
(ResultSet resultSet, EntityPersister persister, EventType timing, SharedSessionContractImplementor session) Reads thegenerated values
for the specifiedResultSet
.GeneratedValuesHelper.getGeneratedValuesDelegate
(EntityPersister persister, EventType timing) Creates thedelegate
used to retrieve database generated values on mutation execution through e.g.static boolean
GeneratedValuesHelper.noCustomSql
(EntityPersister persister, EventType timing) -
Uses of EventType in org.hibernate.id
Methods in org.hibernate.id that return types with arguments of type EventTypeModifier and TypeMethodDescriptionIdentifierGenerator.getEventTypes()
NativeGenerator.getEventTypes()
PostInsertIdentifierGenerator.getEventTypes()
Methods in org.hibernate.id with parameters of type EventTypeModifier and TypeMethodDescriptiondefault Object
IdentifierGenerator.generate
(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) Generate a value.NativeGenerator.generate
(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType) -
Uses of EventType in org.hibernate.id.insert
Constructors in org.hibernate.id.insert with parameters of type EventTypeModifierConstructorDescriptionAbstractReturningDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) protected
AbstractSelectingDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) GetGeneratedKeysDelegate
(EntityPersister persister, boolean inferredKeys, EventType timing) InsertReturningDelegate
(EntityPersister persister, EventType timing) UniqueKeySelectingDelegate
(EntityPersister persister, String[] uniqueKeyPropertyNames, EventType timing) -
Uses of EventType in org.hibernate.id.uuid
Methods in org.hibernate.id.uuid that return types with arguments of type EventTypeMethods in org.hibernate.id.uuid with parameters of type EventType -
Uses of EventType in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type EventTypeModifier and TypeMethodDescriptionstatic List<AttributeMapping>
GeneratedValuesProcessor.getGeneratedAttributes
(EntityMappingType entityDescriptor, EventType timing) Find attributes generated by anOnExecutionGenerator
.Constructors in org.hibernate.metamodel.mapping.internal with parameters of type EventTypeModifierConstructorDescriptionGeneratedValuesProcessor
(EntityPersister entityDescriptor, List<AttributeMapping> generatedAttributes, EventType timing, SessionFactoryImplementor sessionFactory) -
Uses of EventType in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type EventTypeModifier and TypeMethodDescriptionprotected GeneratedValuesProcessor
AbstractEntityPersister.createGeneratedValuesProcessor
(EventType timing, List<AttributeMapping> generatedAttributes) EntityPersister.getGeneratedProperties
(EventType timing) -
Uses of EventType in org.hibernate.tuple
Methods in org.hibernate.tuple that return types with arguments of type EventTypeModifier and TypeMethodDescriptionGenerationTiming.getEventTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Return the equivalent set of event types