• Custom listener shows dirty properties only per event (per class)

    For an object tree if a property of a nested object changes the whole object tree should be versioned. However, it seems there are only hibernate envers events sent to e.g. a customed listener for a class with a prop...
    Profile Photo
    created by jobame
  • SQL query to get a human readable display of the *number* REVINFO.timestamp ?

    Hello   I just migrate a project to Hibernate Envers : it works fine :-)   EnversHibernateToolTask generated for oracle the table REVINFO with the column timestamp number(19,0)   For some legacy reas...
    Profile Photo
    last modified by faridc
  • Hibernate Envers adding a custom column in Audit table

    Hi, I have a requirement to add a custom column (reason/comments)  and need to save it only in the audit table rather than the regular entity table.   I have gone through multiple threads in 2010,2012 but...
    Profile Photo
    last modified by atiruveedhi
  • Hibernate 4.1.0 Cache slows on FLUSH (bulk data processing in java sub thread)

    Hi,   We are facing a major issue of hibernate cache slowness when we have 10 to 20k uncommitted data (i.e. mandatory needs single commit)   Hibernate 4.1.0   Example      Parent...
    Profile Photo
    last modified by rohiitj
  • Audit tables in different schemas with one revinfo per schema with one db connection on SpringBoot

    Good day ,   I want to audit tables that are in different schemas, so I created one revinfo per schema and one _aud table per table to be audited. Then I'm using the following annotation to tell envers where to ...
    Profile Photo
    last modified by roaslin
  • An audited relation to a non-audited entity failing on db update

    @Entity @Audited class A extends BasicEntity{     @ManyToOne     @JoinColumn(name="b_id")     @Audited(targetAuditMode=RelationTargetAuditMode.NOT_AUDITED)   &#...
    Profile Photo
    last modified by nk2611
  • Envers not loading data from _AUD tables after migration

    Hi all,   I'm dealing with an issue at this moment and i'm not sure how to fix it. I have implemented audit logging using Envers 4.3.6 on a existing project.   After creating all the _AUD tables and the c...
    Profile Photo
    last modified by timblanken
  • Envers AuditQuery is adding _id to mappedBy column and is failing with exception "can not resolve property"

    Hi,   I am using Envers to audit my entities. But when I use the AuditQuery to fetch the revisions of my entity along with the associated entity, it fails with the following exception:   "could not resolve...
    Profile Photo
    last modified by kssarath2005
  • Keep only a max of N revisions

    Hello,   We're having trouble with the DB space consumption. We were wondering if we could define a maximum number of revisions so that envers never go beyond.   Otherwise, would it be possible with enve...
    Profile Photo
    last modified by hatem.elloumi
  • How to query _MOD fields in revisions?

    Hi, My users needs to lookup fields modified in the revisions aka changelog. So I need to query for _MOD fields. Is there any JPQL/HQL query way of that, or I need to use native sql queries? Another way what are the...
    Profile Photo
    last modified by apolit
  • NonUniqueObjectException on JPA persist

    Hello everyone, I'm getting a strange Envers exception every time I call JPA's persist method (no exception when merging). The exception is the following: org.hibernate.NonUniqueObjectException: a different object...
    Profile Photo
    last modified by arthur.kalm
  • Envers 5.2.11 NullPointerException in IdMetadataGenerator

    Hi All!   Just bumped my HIbernate dependencies up to version 5.2.11 this morning, and I am now seeing an NPE when initializing (code was unchanged):   Caused by: java.lang.NullPointerException: null  ...
    Profile Photo
    last modified by caseboltj
  • hbm.xml with envers ???

    I have a legacy project and it is necessary audit, is it possible uses hbm.xml file mappings and envers together ?
    Profile Photo
    last modified by lorenzetti
  • Conditional Auditing, but RevisionEntity still written

    I'm using conditional auditing but the RevisionEntity still written. My question, is it possible to prevent also the creation of RevisionEntity?
    Profile Photo
    created by sgeisl
  • java.io.FileNotFoundException: Error loading metadata for index file: segments_2n|M|Course

    0down votefavorite     I tried running infinispan in two machines and persisted the index data in one machine. When i try to run simultaneously in 2 machines with indexing and persisting(cache-store) into ...
    Profile Photo
    last modified by nadeempasha
  • "setMaxResults" cause "column ambiguously defined"

    To user the query.setMaxResults (10); for Oracle 11g, is generating the ambiguously defined column error Sql generated select         *     from   &#...
    Profile Photo
    last modified by andre1
  • @AuditJoinTable rows missing

    Hi Experts, I am new to Hibernate Envers, I've an entities (A & B) which are audited by Envers, which contains one collection. Entity A     @Audited     public class A {  ...
    Profile Photo
    last modified by himanshuarora05
  • Inconsistency with @RevisionEntity

    I have a project which has its own set of entities that come from two different schemas   I also need to bring in two projects that have their own persistence schemas and bring data from separate DBs, obviously...
    Profile Photo
    last modified by steven-garcia
  • Append to revision?

    For performance reason we load data from an external database table by table. So first we load all instances of class A (parent) and persist them, then we load all instances of class B (child), which contains a many-t...
    Profile Photo
    last modified by madiuq
  • Hibernate support for the 5.2 version

    Hello,   I need to configure Hibernate with mysql and want to create two schema with relation.   For ex.   Schema1   --- Table1   --- Table2   Schema2 --- Table1 --- Table2   ...
    Profile Photo
    last modified by aminsohal