Audit « Interceptor « JPA Q&A





1. Any tips on backporting merge() operation from Hibernate 3 to a custom Hibernate 2 application?    stackoverflow.com

I'm currently trying to perform audit logging of changed properties using an Interceptor in Hibernate 2.x. Problem is, the entity I'm trying to save is a detached object so the previousState array ...

2. Auditing using Hibernate Interceptor    forum.hibernate.org

We are having a similar issue. The interceptor is working perfectly in the add (onSave) case in which the records are added directly to the object. In the update case hibernate is not saving to the database the entries which are added during postFlush. Our debugging shows the records have been added by the interceptor but they are not picked up ...

3. Interceptor audit link tables    forum.hibernate.org

4. Interceptor audit link tables    forum.hibernate.org

5. Audit Interceptor needs to look up current username    forum.hibernate.org

Newbie Joined: Mon Sep 26, 2005 2:40 pm Posts: 17 Location: Seattle I've written an interceptor that populates Audit information on objects of a particular type (SpeakeasyAuditedObject). Among this audit information is the current User. Acegi gives me a username, and the Interceptor looks up the User. The problem is that apparently the process of looking up the user by its ...

6. audit interceptor    forum.hibernate.org

We have an audit system using a hibernate interceptor and triggers. The tables that are audited contain an audit info record containing admin information and a timestamp. These fields are updated in the audit interceptor and the triggers are responsible for archiving the relevant data. This system is similar to what is outlined here: http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/06/19 This works fine for inserts (org.hibernate.Interceptor.onSave) ...

7. Audit Interceptor problem    forum.hibernate.org

Hi iam using Audit Interceptor in my hibernate.. I created Audit Interceptor class and created methods like onSave() and OnFlushDirty() . Iam lodaing it in this way.. configuration.setInterceptor(new AuditInterceptor()); and loading even while getting the session.. like session = sessionFacotory.openSession(new AuditInterceptor())); Hibernate Util is being loaded correctly but my methods are not being called i.e the database coloums are not getting ...