EntityInsertAction
| Modifier and Type | Field and Description |
|---|---|
| private final EntityKey | |
| private EntityKey | |
| private Object | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | EntityIdentityInsertAction(final Object[]
The current (extracted) entity state state, final Object The entity instance instance, final EntityPersister The entity persister persister, final boolean Whether version incrementing is disabled isVersionIncrementDisabled, final EventSource The session session, final boolean Are we in a situation which allows the insertion to be delayed? isDelayed)Constructs an EntityIdentityInsertAction |
| Modifier and Type | Method and Description |
|---|---|
| public void | doAfterTransactionCompletion(boolean
Did the transaction complete successfully? True means it did. success, SharedSessionContractImplementor The session on which the transaction is completing. session)Implements org. |
| public void | |
| protected EntityKey | |
| private static DelayedPostInsertIdentifier | |
| protected EntityKey | getEntityKey()
Implements abstract org. EntityKey.
|
| public final Object | |
| protected boolean | |
| public boolean | isEarlyInsert()
Implements abstract org. |
| public boolean | |
| pack-priv PostInsertEvent | |
| protected void | |
| private void | |
| protected void | |
| protected boolean | |
| protected void | |
| protected void |
| delayedEntityKey | back to summary |
|---|---|
| private final EntityKey delayedEntityKey | |
| entityKey | back to summary |
|---|---|
| private EntityKey entityKey | |
| generatedId | back to summary |
|---|---|
| private Object generatedId | |
| isDelayed | back to summary |
|---|---|
| private final boolean isDelayed | |
| EntityIdentityInsertAction | back to summary |
|---|---|
| public EntityIdentityInsertAction(final Object[] state, final Object instance, final EntityPersister persister, final boolean isVersionIncrementDisabled, final EventSource session, final boolean isDelayed) Constructs an EntityIdentityInsertAction
| |
| doAfterTransactionCompletion | back to summary |
|---|---|
| public void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session) Implements org. Doc from org. Perform whatever processing is encapsulated here after completion of the transaction.
| |
| execute | back to summary |
|---|---|
| public void execute() throws HibernateException Implements org. Doc from org. Execute this action.
| |
| generateDelayedEntityKey | back to summary |
|---|---|
| protected EntityKey generateDelayedEntityKey() | |
| generateDelayedPostInsertIdentifier | back to summary |
|---|---|
| private static DelayedPostInsertIdentifier generateDelayedPostInsertIdentifier() | |
| getEntityKey | back to summary |
|---|---|
| protected EntityKey getEntityKey() Implements abstract org. Doc from org. Returns the | |
| getGeneratedId | back to summary |
|---|---|
| public final Object getGeneratedId() Access to the generated identifier
| |
| hasPostCommitEventListeners | back to summary |
|---|---|
| protected boolean hasPostCommitEventListeners() Implements abstract org.
| |
| isEarlyInsert | back to summary |
|---|---|
| public boolean isEarlyInsert() Implements abstract org. Doc from org. Does this insert action need to be executed as soon as possible (e.g., to generate an ID)?
| |
| needsAfterTransactionCompletion | back to summary |
|---|---|
| public boolean needsAfterTransactionCompletion() Overrides org.
| |
| newPostInsertEvent | back to summary |
|---|---|
| pack-priv PostInsertEvent newPostInsertEvent() | |
| postCommitInsert | back to summary |
|---|---|
| protected void postCommitInsert(boolean success) | |
| postCommitInsertOnFailure | back to summary |
|---|---|
| private void postCommitInsertOnFailure(PostInsertEventListener listener, PostInsertEvent event) | |
| postInsert | back to summary |
|---|---|
| protected void postInsert() | |
| preInsert | back to summary |
|---|---|
| protected boolean preInsert() | |
| setEntityKey | back to summary |
|---|---|
| protected void setEntityKey(EntityKey entityKey) | |
| setGeneratedId | back to summary |
|---|---|
| protected void setGeneratedId(Object generatedId) | |