audit « Map « JPA Q&A





1. Missing properties in Envers auditing tables    stackoverflow.com

I am using envers to audit my ParameterToValue entity. Its properties "containerId", "containerType", "parameterId" which do appear as columns in a mapped DB table "values_for_params" (a regular Hibernate table), are missing ...

2. Envers @ManyToMany audit includes removed entities    forum.hibernate.org

Code: @Entity @Audited public class Template { @Id Long id; @ManyToMany(cascade = CascadeType.ALL) @JoinTable(name = "template_section") List

sections; ... } @Entity @Audited public class Section { @Id Long id; ...

3. Many to Many mapping interfering with auditing...    forum.hibernate.org

Regular Joined: Thu Sep 09, 2004 6:46 pm Posts: 96 Hibernate version: 2.1.6 Wrt following thread. Is it true that collection sets are deleted and then reinserted? For me that affects auditing. Deleting a row that hasn't been touched only to re-insert it again causes audit timestamps. Is there a hibernate way to avoid this behavior so that when updating a ...

4. Need help mapping 3 compound keys for 1 audit table    forum.hibernate.org

Author Message mickknutson Post subject: Need help mapping 3 compound keys for 1 audit table Posted: Thu Jan 18, 2007 8:41 pm Newbie Joined: Mon Jun 20, 2005 12:40 pm Posts: 5 I have the following: PRoviderHistory -------------------- ProviderIdentifier (not unique (pk)) HistoryCreateUser (pk) HistoryCreateDateTIme (pk) I need this mapped and composite-id is giving me errors. Hibernate version: 3.2.0.g ...

5. Hibernate audit history mapping    forum.hibernate.org

...