Package org.hibernate
Class BaseSessionEventListener
java.lang.Object
org.hibernate.BaseSessionEventListener
- All Implemented Interfaces:
Serializable
,SessionEventListener
- Direct Known Subclasses:
StatisticalLoggingSessionEventListener
A no-op implementation of SessionEventListener. Intended as a convenient base class for developing
SessionEventListener implementations.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheGetEnd
(boolean hit) void
void
void
void
dirtyCalculationEnd
(boolean dirty) void
void
end()
void
flushEnd
(int numberOfEntities, int numberOfCollections) void
void
void
void
void
void
void
void
void
void
void
void
partialFlushEnd
(int numberOfEntities, int numberOfCollections) void
void
transactionCompletion
(boolean successful) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.SessionEventListener
prePartialFlushEnd, prePartialFlushStart
-
Constructor Details
-
BaseSessionEventListener
public BaseSessionEventListener()
-
-
Method Details
-
transactionCompletion
public void transactionCompletion(boolean successful) - Specified by:
transactionCompletion
in interfaceSessionEventListener
-
jdbcConnectionAcquisitionStart
public void jdbcConnectionAcquisitionStart()- Specified by:
jdbcConnectionAcquisitionStart
in interfaceSessionEventListener
-
jdbcConnectionAcquisitionEnd
public void jdbcConnectionAcquisitionEnd()- Specified by:
jdbcConnectionAcquisitionEnd
in interfaceSessionEventListener
-
jdbcConnectionReleaseStart
public void jdbcConnectionReleaseStart()- Specified by:
jdbcConnectionReleaseStart
in interfaceSessionEventListener
-
jdbcConnectionReleaseEnd
public void jdbcConnectionReleaseEnd()- Specified by:
jdbcConnectionReleaseEnd
in interfaceSessionEventListener
-
jdbcPrepareStatementStart
public void jdbcPrepareStatementStart()- Specified by:
jdbcPrepareStatementStart
in interfaceSessionEventListener
-
jdbcPrepareStatementEnd
public void jdbcPrepareStatementEnd()- Specified by:
jdbcPrepareStatementEnd
in interfaceSessionEventListener
-
jdbcExecuteStatementStart
public void jdbcExecuteStatementStart()- Specified by:
jdbcExecuteStatementStart
in interfaceSessionEventListener
-
jdbcExecuteStatementEnd
public void jdbcExecuteStatementEnd()- Specified by:
jdbcExecuteStatementEnd
in interfaceSessionEventListener
-
jdbcExecuteBatchStart
public void jdbcExecuteBatchStart()- Specified by:
jdbcExecuteBatchStart
in interfaceSessionEventListener
-
jdbcExecuteBatchEnd
public void jdbcExecuteBatchEnd()- Specified by:
jdbcExecuteBatchEnd
in interfaceSessionEventListener
-
cachePutStart
public void cachePutStart()- Specified by:
cachePutStart
in interfaceSessionEventListener
-
cachePutEnd
public void cachePutEnd()- Specified by:
cachePutEnd
in interfaceSessionEventListener
-
cacheGetStart
public void cacheGetStart()- Specified by:
cacheGetStart
in interfaceSessionEventListener
-
cacheGetEnd
public void cacheGetEnd(boolean hit) - Specified by:
cacheGetEnd
in interfaceSessionEventListener
-
flushStart
public void flushStart()- Specified by:
flushStart
in interfaceSessionEventListener
-
flushEnd
public void flushEnd(int numberOfEntities, int numberOfCollections) - Specified by:
flushEnd
in interfaceSessionEventListener
-
partialFlushStart
public void partialFlushStart()- Specified by:
partialFlushStart
in interfaceSessionEventListener
-
partialFlushEnd
public void partialFlushEnd(int numberOfEntities, int numberOfCollections) - Specified by:
partialFlushEnd
in interfaceSessionEventListener
-
dirtyCalculationStart
public void dirtyCalculationStart()- Specified by:
dirtyCalculationStart
in interfaceSessionEventListener
-
dirtyCalculationEnd
public void dirtyCalculationEnd(boolean dirty) - Specified by:
dirtyCalculationEnd
in interfaceSessionEventListener
-
end
public void end()- Specified by:
end
in interfaceSessionEventListener
-