Skip Headers

# Using Java

Previous

Next

This event listener gives you an opportunity to determine whether the update failure was due to a security violation (in which case you should not retry the operation), or due to an optimistic lock issue (in which case a retry may be appropriate).

You can use the existing session event API, such as `getQuery().getResult()`, to get the affected object, if any.

After you implement the required `SessionEventListener`, add it to the parent server session, from which you acquire your isolated client session. For more information, see "Configuring Session Event Listeners".