public class IgnoreUserSessionListener
extends org.eclipse.persistence.sessions.SessionEventAdapter
SessionEventAdapter
initializing the "ignoreUserId"
property with false
.
Using this property, it is possible to ignore user isolation temporarily on entities with an additional criteria by
appending "<some criteria> or :ignoreUserId = true"
.Modifier and Type | Field and Description |
---|---|
static String |
ignoreUserId |
Constructor and Description |
---|
IgnoreUserSessionListener() |
Modifier and Type | Method and Description |
---|---|
void |
postAcquireClientSession(org.eclipse.persistence.sessions.SessionEvent event) |
missingDescriptor, moreRowsDetected, noRowsModified, outputParametersDetected, postAcquireConnection, postAcquireExclusiveConnection, postAcquireUnitOfWork, postBeginTransaction, postCalculateUnitOfWorkChangeSet, postCommitTransaction, postCommitUnitOfWork, postConnect, postDistributedMergeUnitOfWorkChangeSet, postExecuteQuery, postLogin, postLogout, postMergeUnitOfWorkChangeSet, postReleaseClientSession, postReleaseUnitOfWork, postResumeUnitOfWork, postRollbackTransaction, preBeginTransaction, preCalculateUnitOfWorkChangeSet, preCommitTransaction, preCommitUnitOfWork, preDistributedMergeUnitOfWorkChangeSet, preExecuteQuery, preLogin, preLogout, preMergeUnitOfWorkChangeSet, prepareUnitOfWork, preReleaseClientSession, preReleaseConnection, preReleaseExclusiveConnection, preReleaseUnitOfWork, preRollbackTransaction
public static final String ignoreUserId
public void postAcquireClientSession(org.eclipse.persistence.sessions.SessionEvent event)
postAcquireClientSession
in interface org.eclipse.persistence.sessions.SessionEventListener
postAcquireClientSession
in class org.eclipse.persistence.sessions.SessionEventAdapter
Copyright © 2019 SAP SE. All rights reserved.