max wrote:
the sessioneventlisternerconfig was removed shortly, but will come back in the final release (it is in cvs now)
if you are using the RC1 then setListener is the current only way to do it programmatically. otherwise use the hibernate.cfg.xml
So could you or somebody tel me how to use
config.setListener(String name,Object listener) ??
name = is .... ? ( it is not "org.hibernate.event.PostLoadEventListener" or "PostLoadEventListener" !)
listener = should be a PostLoadEventListener instance , right ?
I looked in the code and found no hint only a "// todo : ugh!" comment ;-)