EntityIdentityInsertAction
| Access | Constructor and Description |
|---|---|
| public | EntityInsertAction(Serializable
The entity identifier id, Object[] The current (extracted) entity state state, Object The entity instance instance, Object The current entity version value version, EntityPersister The entity's persister persister, boolean Whether version incrementing is disabled. isVersionIncrementDisabled, SharedSessionContractImplementor 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 | |
| protected boolean | |
| protected boolean | |
| public boolean | isEarlyInsert()
Implements abstract org. |
| private PostInsertEvent | |
| protected void | |
| private void | |
| protected void | |
| protected boolean | |
| protected void | |
| public void |
| cacheEntry | back to summary |
|---|---|
| private Object cacheEntry | |
| version | back to summary |
|---|---|
| private Object version | |
| EntityInsertAction | back to summary |
|---|---|
| public EntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor 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() | |
| 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() | |
| setCacheEntry | back to summary |
|---|---|
| protected void setCacheEntry(Object cacheEntry) | |
| setVersion | back to summary |
|---|---|
| public void setVersion(Object version) | |