Methods Summary |
---|
public void | missingDescriptor(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the session if a descriptor is missing for a class being persisted.
This can be used to lazy register the descriptor or set of descriptors.
|
public void | moreRowsDetected(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the session after read object query detected more than a single row back from the database.
The "result" of the event will be the call. Some applications may want to interpret this as an error or warning condition.
|
public void | noRowsModified(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the session after update or delete SQL has been sent to the database
but a row count of zero was returned.
|
public void | outputParametersDetected(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the session after a stored procedure call has been executed that had output parameters.
If the proc was used to override an insert/update/delete operation then TopLink will not be expecting any return value.
This event mechanism allows for a listner to be registered before the proc is call to process the output values.
The event "result" will contain a DatabaseRow of the output values, and property "call" will be the StoredProcedureCall.
|
public void | postAcquireClientSession(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the client session after creation/acquiring.
|
public void | postAcquireConnection(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on when using the server/client sessions.
This event is raised after a connection is acquired from a connection pool.
|
public void | postAcquireExclusiveConnection(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised when a ClientSession, with Isolated data, acquires
an exclusive connection. The event will contain the ClientSession that
is being acquired. Users can set properties within the ConnectionPolicy
of that ClientSession for access within this event.
|
public void | postAcquireUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work after creation/acquiring.
This will be raised on nest units of work.
|
public void | postBeginTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after a database transaction is started.
It is not raised for nested transactions.
|
public void | postCalculateUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after the commit has begun on the UnitOfWork and
after the changes are calculated. The UnitOfWorkChangeSet, at this point,
will contain changeSets without the version fields updated and without
IdentityField type primary keys. These will be updated after the insert, or
update, of the object
|
public void | postCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after a database transaction is commited.
It is not raised for nested transactions.
|
public void | postCommitUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work after commit.
This will be raised on nest units of work.
|
public void | postConnect(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after the session connects to the database.
In a server session this event is raised on every new connection established.
|
public void | postDistributedMergeUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This even will be raised after a UnitOfWorkChangeSet has been merged
When that changeSet has been received from a distributed session
|
public void | postExecuteQuery(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after the execution of every query against the session.
The event contains the query and query result.
|
public void | postLogin(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This Event is raised after the session logs in.
|
public void | postMergeUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This even will be raised after a UnitOfWorkChangeSet has been merged
|
public void | postReleaseClientSession(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the client session after releasing.
|
public void | postReleaseUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work after release.
This will be raised on nest units of work.
|
public void | postResumeUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work after resuming.
This occurs after pre/postCommit.
|
public void | postRollbackTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after a database transaction is rolledback.
It is not raised for nested transactions.
|
public void | preBeginTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised before a database transaction is started.
It is not raised for nested transactions.
|
public void | preCalculateUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised after the commit has begun on the UnitOfWork but before
the changes are calculated.
|
public void | preCommitTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised before a database transaction is commited.
It is not raised for nested transactions.
|
public void | preCommitUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work before commit.
This will be raised on nest units of work.
|
public void | preDistributedMergeUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This even will be raised before a UnitOfWorkChangeSet has been merged
When that changeSet has been received from a distributed session
|
public void | preExecuteQuery(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised before the execution of every query against the session.
The event contains the query to be executed.
|
public void | preLogin(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This Event is raised before the session logs in.
|
public void | preMergeUnitOfWorkChangeSet(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This even will be raised before a UnitOfWorkChangeSet has been merged
|
public void | preReleaseClientSession(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the client session before releasing.
|
public void | preReleaseConnection(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on when using the server/client sessions.
This event is raised before a connection is released into a connection pool.
|
public void | preReleaseExclusiveConnection(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is fired just before a Client Session, with isolated data,
releases its Exclusive Connection
|
public void | preReleaseUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work before release.
This will be raised on nest units of work.
|
public void | preRollbackTransaction(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised before a database transaction is rolledback.
It is not raised for nested transactions.
|
public void | prepareUnitOfWork(oracle.toplink.essentials.sessions.SessionEvent event)PUBLIC:
This event is raised on the unit of work after the SQL has been flushed, but the commit transaction has not been executed.
It is similar to the JTS prepare phase.
|