• JBoss eap 6.1 Hibernate 4.2.0 Spring 3

    Hi Guys   I have a problem with this setup. I get the following error. I try a several changes on my configurations but in any cases that work correctly.   10:34:34,312 ERROR [org.hibernate.engine.transa...
    Profile Photo
    created by ffrizzo
  • RelationTargetAuditMode.NOT_AUDITED to Audited entity

    I have two entities, A and B, both of them audited. A has a bidirectional OneToMany-Relation to B. When I call getA() on B I want to get the latest A from the A table (not A_AUD), so I annotate getA() with "@Audited(t...
    Profile Photo
    last modified by peter.eigenschink
  • Envers Audit annotation is not working

    Hi,      I'm using envers-1.2.2.ga-hibernate-3.3 with hibernate 3.3.1-GA. All my Entity classes are mapped using hbm file, I just trying to audit one of my entity field with @Audited.   eg...
    Profile Photo
    last modified by nick.sree
  • No version records created when using JTA transaction manage

    Does envers work with a JTA transaction manager? I'm using Spring 2.5.5 and JBoss 4.2.2.GA, and when I use the Hibernate 3 transaction manager, envers versioning records are created, but when I use the JTA transaction...
    Profile Photo
    last modified by dmeyer2
  • Hibernate envers data not getting inserted in audit tables

    I am facing similar problem. I am using Spring 3.1, Spring data jpa 1.2 with Hibernate 3.5.1 and envers 3.5.1. The issue is when using envers my _AUD table is getting created but the data is not     inserte...
    Profile Photo
    created by gauraviitm
  • How to enable/disable audit on a single property at runtime?

    Hello,   I need to implement a feature that requires turning audit on/off for single properties at runtime. In other words, I'd like to simulate adding/deleting @NotAudited annotation for entity fields. I assum...
    Profile Photo
    last modified by bolek
  • Audit Table Primary Key Issues

    Greetings!  I am having an issue where the audit table being automatically generated through Envers collects unnecessary columns into the primary key and I was hoping for some advice regarding how we might overco...
    Profile Photo
    last modified by mcauleyj
  • Envers & Oracle & ORA-00942 error

    hi all,   i want to enable auditing on my Oracle database, using Envers. But it fires the following exception.   WARNING: SQL Error: 942, SQLState: 42000 SEVERE: ORA-00942: table or view does not exist &#...
    Profile Photo
    last modified by goksoy66
  • auditing many to many relationship with extra columns

    Hi, I've created a ManyToMany relationship with extra columns and it works fine. But when I try to add Envers, the following error appears. I'm using Hibernate + Envers 3.6.10   {code:java}Initial SessionFactor...
    Profile Photo
    last modified by calowensnay
  • ObjectNotFoundException when merging entity

    I am having an issue when merging an Entity object that has a set of EntityLinks that represent a many to many mapping.  I'm getting a ObjectNotFoundException: No row with the given identifier exists: [EntityLink...
    Profile Photo
    last modified by josecis
  • Check if entity was loaded from envers-tables or not?

    Hi,   Is there a way to check if a instance was loaded from the envers tables or from the "normal" tables? In case of using the AuditReader, I may wrap the results into other objects, but what about entities th...
    Profile Photo
    last modified by thollsten
  • ValidityAuditStrategy with no audit record

    Hi!   I changed to ValidityAuditStrategy but I'm having a issue.   If I try to persist a new entity that have a N:1 relationship with it the ValidityAuditStrategy throw an exception:   Caused by: java...
    Profile Photo
    last modified by 0x3333
  • how to configure Envers in hibernate.cfg file?

    Hi All,   I am using hibernate version 3.5 and not sure how to configure Envers in hibernate.cfg file.  Please help!   thanks,   angca
    Profile Photo
    last modified by taitangca
  • Handle related entity not found gracefully

    Hi   With Envers 4.1.6, currently when querying audit data, if the related entity is not found, Envers will throw such exception:   @Audited class Employee {   private Integer id;   private Compan...
    Profile Photo
    last modified by jhuang8285
  • null pointer exception

    Hi All,     I have one doubt in handling exception     Please follow the code     private static void loadProdpriceAttrs(StatefulKnowledgeSession workingMemory, long id)   &...
    Profile Photo
    last modified by ganeshneelekani
  • Does anybody know how to contribute to the hibernate development?

    I wanted to contribute in writing the hibernate source code, can anybody guide me?
    Profile Photo
    last modified by pranav2727
  • Pending revisions with envers

    HI everybody, i was wondering if there's a way to mark a revision as still-in-pending, that is it must be validated before becoming active. What i'm trying to develop is a system where users propose a revision for ...
    Profile Photo
    last modified by 3r4sm0
  • Support "in" expression for AuditRelatedId

    Hi   Thanks for Envers, we save a lot of effort on implementing our audit feature. Now I am working on searching audit data and realise that it's hard to search revisions based on relation condition. For example...
    Profile Photo
    last modified by jhuang8285
  • Bad proxy behavior when using store_data_at_delete and audited parent/child relationships

    Use hibernate.envers.store_data_at_delete = true   {code} class Parent {   @Audited   String name;     Set<Child> children; }   class Child {   @Audited   String ...
    Profile Photo
    last modified by hltbdivl
  • Expected behavior when traversing deleted relations that are targetAuditMode=RelationTargetAuditMode.NOT_AUDITED

      I'm evaluating Envers for historical configuration tracking in our system. So far I really like what I see; our custom history mechanism is many lines of complex code, and Envers has the potential to get rid ...
    Profile Photo
    last modified by hltbdivl