[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5620?page=c...
]
Kim A. Betti commented on HHH-5620:
-----------------------------------
Sorry, apparently I managed to press submit before I was done typing.
There is already a SessionFactoryObserver interface. It would be very convenient with a
similar interface for sessions. Or at least make the SessionFactoryImpl non-final so
it's possible to sub-class it and override the interesting method.
Make a Session equivalent to SessionFactoryObserver
---------------------------------------------------
Key: HHH-5620
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5620
Project: Hibernate Core
Issue Type: New Feature
Reporter: Kim A. Betti
There are a couple of use cases where it would be useful to listen in on new Hibernate
Sessions (for example to activate filters). This is made incredible difficult today as
HibernateFactoryImpl is declared final and is responsible for creating the
CurrentSessionContext istance, which is held in a final field.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira