1. Hibernate Envers : How to delete entries from my audit table? stackoverflow.comI am currently working with Hibernate Envers. My problem is the following : How to delete entries in the audit table related to the entity I want to delete? My entity has no ... |
2. Hibernate Envers: No delete entry in audit table for cascading deletes stackoverflow.comI'm using Hibernate envers to track all changes made to my database objects. These objects are sometimes related by a (uni-directional) parent-child relationship. Because I need queries that are supposed to ... |
3. Hibernate Envers : How to delete entries from my audit table? coderanch.comHello everyone, I am trying to remove all audit entries related to an entity when I delete this same entity. I know this is against the principle of auditing but I don't want to keep an history of object that I delete. To do that, I figured out that I have to create my own listener and override the onPostDelete method ... |
4. Bizarre Envers side effect: collection gets deleted forum.hibernate.orgHi. I am using Hibernate Envers 1.2.1, and recently encountered some bizarre behavior. It looks like a newly created collection is deleted after Envers does its thing on transaction commit. If I unwire AuditEventListener from the session factory, the collection is preserved. The entity whose collection is being deleted is not even being audited: the relationship is more like AuditedEntity -> ... |