Hi, I'm implementing an AuditLogInterceptor very similar to the one exampled in Hibernate in Action (actually, I'm quite copying from the book ;) and I've come across a doubt...
Is still an Interceptor the best way to do that in Hibernate3 ?
I remember one of Hibernate team members (maybe Gavin, don't remember) talking about a new event system to be implemented in Hibernate3 (when Hibernate3 was still not final).
I gave a look at Hibernate3 docs but I didn't quite find anything about this, though I've found a lot of Interceptor examples.
So should I go on with Interceptor ? (I have other behaviours I want to implement with Interceptors, so I want to be sure).
Thanks for any suggestion.
Giulio
|