I record a history of all changes to some entities and am about to implement a mechanism similar to Envers to take care of this automatically. My question is whether to use Hibernate interceptors or their event system?
It seems like interceptors is a little simpler and does all I need. And Hibernate's own documentation suggests using interceptors for "tracking audit information." But their audit information isn't in a companion table for each entity and Envers uses the event system I imagine for a reason.
I'm using Spring 3.0 and Hibernate 3.5 (latest stables).
UPDATE: database triggers are not desirable for this situation. I'm eager to hear thoughts on hibernate interceptors vs events for audit trails/change histories.