Uses of Class
org.hibernate.generator.EventType
-
Packages that use EventType Package Description org.hibernate.annotations A set of mapping annotations which extend the O/R mapping annotations defined by JPA.org.hibernate.generator This package defines an abstraction over all kinds of automatic value generation, including id generation and version number generation.org.hibernate.generator.internal org.hibernate.generator.values Contains a framework of strategies for efficient retrieval of database-generated values.org.hibernate.generator.values.internal org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced
, contain the built-in id generators, all of which implement eitherIdentifierGenerator
orPostInsertIdentifierGenerator
.org.hibernate.id.insert Contains a framework of strategies for retrieving database-generated ids.org.hibernate.id.uuid Contains theUuidGenerator
.org.hibernate.metamodel.mapping.internal org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.tuple Most contracts here have been replaced by the new runtime mapping model. -
-
Uses of EventType in org.hibernate.annotations
Methods in org.hibernate.annotations that return EventType Modifier and Type Method Description EventType[]
event()
Determines when the timestamp is generated.EventType[]
event()
Specifies the events that cause the value to be generated by the database.Methods in org.hibernate.annotations that return types with arguments of type EventType Modifier and Type Method Description EnumSet<EventType>
GenerationTime. eventTypes()
Deprecated. -
Uses of EventType in org.hibernate.generator
Fields in org.hibernate.generator with type parameters of type EventType Modifier and Type Field Description static EnumSet<EventType>
EventTypeSets. ALL
static EnumSet<EventType>
EventTypeSets. INSERT_AND_UPDATE
static EnumSet<EventType>
EventTypeSets. INSERT_ONLY
static EnumSet<EventType>
EventTypeSets. NONE
static EnumSet<EventType>
EventTypeSets. UPDATE_ONLY
Methods in org.hibernate.generator that return EventType Modifier and Type Method Description static EventType
EventType. valueOf(String name)
Returns the enum constant of this type with the specified name.static EventType[]
EventType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.hibernate.generator that return types with arguments of type EventType Modifier and Type Method Description static EnumSet<EventType>
EventTypeSets. fromArray(EventType[] types)
EnumSet<EventType>
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 Modifier and Type Method Description static EnumSet<EventType>
EventTypeSets. fromArray(EventType[] types)
Object
BeforeExecutionGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Generate a value. -
Uses of EventType in org.hibernate.generator.internal
Methods in org.hibernate.generator.internal that return types with arguments of type EventType Modifier and Type Method Description EnumSet<EventType>
CurrentTimestampGeneration. getEventTypes()
EnumSet<EventType>
GeneratedAlwaysGeneration. getEventTypes()
EnumSet<EventType>
GeneratedGeneration. getEventTypes()
EnumSet<EventType>
SourceGeneration. getEventTypes()
Deprecated.EnumSet<EventType>
TenantIdGeneration. getEventTypes()
EnumSet<EventType>
VersionGeneration. getEventTypes()
Methods in org.hibernate.generator.internal with parameters of type EventType Modifier and Type Method Description Object
CurrentTimestampGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Object
SourceGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated.Object
TenantIdGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Object
VersionGeneration. generate(SharedSessionContractImplementor session, Object owner, Object current, EventType eventType)
-
Uses of EventType in org.hibernate.generator.values
Methods in org.hibernate.generator.values that return EventType Modifier and Type Method Description EventType
AbstractGeneratedValuesMutationDelegate. getTiming()
EventType
GeneratedValuesMutationDelegate. getTiming()
Returns the timing this generated values delegate handles.Constructors in org.hibernate.generator.values with parameters of type EventType Constructor Description AbstractGeneratedValuesMutationDelegate(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 EventType Modifier and Type Method Description static GeneratedValuesMappingProducer
GeneratedValuesHelper. 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, WrapperOptions wrapperOptions)
Reads thegenerated values
for the specifiedResultSet
.static GeneratedValuesMutationDelegate
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 EventType Modifier and Type Method Description default EnumSet<EventType>
IdentifierGenerator. getEventTypes()
default EnumSet<EventType>
PostInsertIdentifierGenerator. getEventTypes()
Methods in org.hibernate.id with parameters of type EventType Modifier and Type Method Description default Object
IdentifierGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Generate a value. -
Uses of EventType in org.hibernate.id.insert
Constructors in org.hibernate.id.insert with parameters of type EventType Constructor Description AbstractReturningDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId)
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 EventType Modifier and Type Method Description EnumSet<EventType>
UuidGenerator. getEventTypes()
Methods in org.hibernate.id.uuid with parameters of type EventType Modifier and Type Method Description Object
UuidGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
-
Uses of EventType in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type EventType Modifier and Type Method Description static List<AttributeMapping>
GeneratedValuesProcessor. getGeneratedAttributes(EntityMappingType entityDescriptor, EventType timing)
Find attributes generated by anOnExecutionGenerator
.Constructors in org.hibernate.metamodel.mapping.internal with parameters of type EventType Constructor Description GeneratedValuesProcessor(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 EventType Modifier and Type Method Description protected GeneratedValuesProcessor
AbstractEntityPersister. createGeneratedValuesProcessor(EventType timing, List<AttributeMapping> generatedAttributes)
default List<? extends ModelPart>
EntityPersister. getGeneratedProperties(EventType timing)
-
Uses of EventType in org.hibernate.tuple
Methods in org.hibernate.tuple that return types with arguments of type EventType Modifier and Type Method Description default EnumSet<EventType>
ValueGeneration. getEventTypes()
Deprecated, for removal: This API element is subject to removal in a future version.EnumSet<EventType>
VmValueGeneration. getEventTypes()
Deprecated.Methods in org.hibernate.tuple with parameters of type EventType Modifier and Type Method Description default Object
ValueGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated, for removal: This API element is subject to removal in a future version.Object
VmValueGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated.
-