public class IdentityGeneratorEvent extends PostInsertGeneratorEvent
IdentityGeneratorEvent indicates that the entity identifier
uses the GenerationType.IDENTITY strategy.Event.Priority| Constructor and Description |
|---|
IdentityGeneratorEvent(Class entityClass,
String entityAttribute,
String identifierStrategy,
boolean supportsSequences)
Instantiate the event using the provided parameters.SQLServerDataSourceProvider
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
boolean |
isSequenceSupport()
Does the database support sequences.
|
getIdentifierStrategygetEntityAttributegetEntityClass, getEntityNamegetInfoUrlpublic IdentityGeneratorEvent(Class entityClass, String entityAttribute, String identifierStrategy, boolean supportsSequences)
entityClass - entity classentityAttribute - entity attributeidentifierStrategy - identifier strategysupportsSequences - if the underlying database supports sequence objectspublic boolean isSequenceSupport()
public Event.Priority getPriority()
Event.Priority of this EventgetPriority in interface EventgetPriority in class PostInsertGeneratorEventEvent.Priority of this Eventpublic String getDescription()
getDescription in interface EventgetDescription in class PostInsertGeneratorEventString description of this EventCopyright © 2026. All rights reserved.