Custom data associated with session
-----------------------------------
Key: HHH-4096
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4096
Project: Hibernate Core
Issue Type: Improvement
Components: core
Reporter: Marcin Kobylarz
It would be nice to have a pair of methods:
void Session.setCustomData(Object o)
and
Object Session.getCustomData()
They would allow a user to associate some custom, user defined data with the session. This
would make this data available wherever a session object is available.
Particular example for such feature is an event system. Event listener is a singleton per
session factory and this would made easier to perform operations on session scoped objects
which could be obtained via this technique.
--
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