A project which also enables audit logging is Envers: http://www.jboss.org/envers/ The technique used there is a bit similar, but much more expanded. -- Adam