EntityIdentityInsertAction
| Access | Constructor and Description |
|---|---|
| public | EntityInsertAction(final Object
The entity identifier id, final Object[] The current (extracted) entity state state, final Object The entity instance instance, final Object The current entity version value version, final EntityPersister The entity's persister persister, final boolean Whether version incrementing is disabled. isVersionIncrementDisabled, final EventSource The session session)Constructs an EntityInsertAction. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected boolean | |
| 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 Object | |
| protected EntityKey | getEntityKey()
Implements abstract org. EntityKey.
|
| public Object | |
| private void | |
| protected boolean | |
| protected boolean | |
| public boolean | isEarlyInsert()
Implements abstract org. |
| private PostInsertEvent | |
| protected void | |
| private void | |
| protected void | |
| protected boolean | |
| protected void | |
| protected void | |
| public void |
| cacheEntry | back to summary |
|---|---|
| private Object cacheEntry | |
| version | back to summary |
|---|---|
| private Object version | |
| EntityInsertAction | back to summary |
|---|---|
| public EntityInsertAction(final Object id, final Object[] state, final Object instance, final Object version, final EntityPersister persister, final boolean isVersionIncrementDisabled, final EventSource session) Constructs an EntityInsertAction.
| |
| cacheAfterInsert | back to summary |
|---|---|
| protected boolean cacheAfterInsert(EntityDataAccess cache, Object ck) | |
| cacheInsert | back to summary |
|---|---|
| protected boolean cacheInsert(EntityPersister persister, Object ck) | |
| doAfterTransactionCompletion | back to summary |
|---|---|
| public void doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session) throws HibernateException 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.
| |
| getCacheEntry | back to summary |
|---|---|
| protected Object getCacheEntry() | |
| getEntityKey | back to summary |
|---|---|
| protected EntityKey getEntityKey() Implements abstract org. Doc from org. Returns the | |
| getVersion | back to summary |
|---|---|
| public Object getVersion() | |
| handleGeneratedProperties | back to summary |
|---|---|
| private void handleGeneratedProperties(EntityEntry entry) | |
| hasPostCommitEventListeners | back to summary |
|---|---|
| protected boolean hasPostCommitEventListeners() Implements abstract org.
| |
| isCachePutEnabled | back to summary |
|---|---|
| protected boolean isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session) | |
| 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)?
| |
| newPostInsertEvent | back to summary |
|---|---|
| private PostInsertEvent newPostInsertEvent() | |
| postCommitInsert | back to summary |
|---|---|
| protected void postCommitInsert(boolean success) | |
| postCommitOnFailure | back to summary |
|---|---|
| private void postCommitOnFailure(PostInsertEventListener listener, PostInsertEvent event) | |
| postInsert | back to summary |
|---|---|
| protected void postInsert() | |
| preInsert | back to summary |
|---|---|
| protected boolean preInsert() | |
| putCacheIfNecessary | back to summary |
|---|---|
| protected void putCacheIfNecessary() | |
| setCacheEntry | back to summary |
|---|---|
| protected void setCacheEntry(Object cacheEntry) | |
| setVersion | back to summary |
|---|---|
| public void setVersion(Object version) | |