EntityInsertAction
| Modifier and Type | Field and Description |
|---|---|
| private final EntityKey | |
| private EntityKey | |
| private Serializable | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | EntityIdentityInsertAction(Object[]
The current (extracted) entity state state, Object The entity instance instance, EntityPersister The entity persister persister, boolean Whether version incrementing is disabled isVersionIncrementDisabled, SharedSessionContractImplementor The session session, 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 | |
| public EntityKey | Returns: The delayed entity key
Deprecated
No Hibernate code currently uses this method
Access to the delayed entity key
|
| protected EntityKey | getEntityKey()
Implements abstract org. EntityKey.
|
| public final Serializable | |
| 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 Serializable generatedId | |
| isDelayed | back to summary |
|---|---|
| private final boolean isDelayed | |
| EntityIdentityInsertAction | back to summary |
|---|---|
| public EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session, 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() | |
| getDelayedEntityKey | back to summary |
|---|---|
| public EntityKey getDelayedEntityKey()
Deprecated No Hibernate code currently uses this method Access to the delayed entity key
| |
| getEntityKey | back to summary |
|---|---|
| protected EntityKey getEntityKey() Implements abstract org. Doc from org. Returns the | |
| getGeneratedId | back to summary |
|---|---|
| public final Serializable 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(Serializable generatedId) | |