michael wrote:
Just use a wrapper around the normal SessionImpl if you want to implement custom functionality - this is much safer. And tell us what you want to do, perhaps we can suggest an easier way :)
Hibernate 3.1
I write web-service application (fully singletone class, working with hibernate db)
I need track information about user who initialized some action with database. Session object is accessible through all event listeners. If i could have possibility to set and get arbitrary object with session - this might solve many problems (e.g. authorization).