Relates to version 3.1.3:
I'm wondering how I should handle chaining of interceptors now that the Interceptor interface has gone through some updates. I'm trying a strategy similar to this:
http://www.hibernate.org/92.html and have done so successfully earlier.
My problem relates to the new methods such as:
public String onPreparedStatement(String s)
public Object getEntity(..)
etc... where I am uncertain what to return in my ChainedInterceptor. Leaving them empty and returning null is obviously wrong, likewise does simply extending EmptyInterceptor seem to generate wrong behaviour as nothing seems to be delegated to my chained interceptors (even though I have overrided all the methods that my chained interceptors should take care of).
I was thinking about looking at the Event system as a replacement, but Interceptor allows me more code-resue without hassle.
I'm afraid I've got no stack trace to show you at this time, suffice to say that i simply need some advice on a chaining strategy in hibernate 3.1.3?