• Problem with Joined Inheritance And @DiscriminatorColumn

    Hi everyone!   I have a trouble with a inheritance mapping using a discriminator column.   Using hibernate 5.0.7.Final version Here we go:   @Entity @Table(name = "TB_CRA_PESSOA") @Inheritance(st...
    Profile Photo
    last modified by philipealvess
  • probleme with "connection.provider_class" and hibernate search for Multi-tenancy connection

    Hello We use "hibernate.connection.provider_class" in multitenant connection with hibernate 4.0 and we try to integrate hibernate search 4.1.1.Final for our application, But the problem is when we try to purge all of...
    Profile Photo
    last modified by moha_7789
  • Envers not write in my property Object audit table

    Hello every one Im new in java dev world and now I have work with Envers. I need to get auditeds for some entity and show history of changes of it. But I have one problem now if some one help me I will be very very ha...
    Profile Photo
    last modified by immutable
  • Entity "locally revisioned"

    Hi,   I guess the question is already asked in the forum but I have not found the response.   In the documentation : One viable solution is to introduce an option to have an entity "locally revisioned", ...
    Profile Photo
    last modified by christophe.gillard
  • RevisionEntity

    'm using Hibernate-Core:4.3.11.Final and Hibernate-Envers:4.3.11.Final and I have my implementation of org.hibernate.envers.RevisionListener and I have my revision entity(MyRevisionEntity) which extend org.hibernate....
    Profile Photo
    last modified by majerholdt
  • DefaultRevisionEntity - extending it fails JPA validation - entity has no primary key attribute defined

    Dear adamw   As I read on the Hibernate Envers 4.2 site Chapter 15. Envers for a revision log, in order to implement a custom @RevisionEntity, there are 2 solutions: extend DefaultRevisionEntity class impleme...
    Profile Photo
    last modified by brancoveanu
  • Querying on an audited entity with conditions

    Hi all, I am new to envers and I've got a question for you.   I've got an audited entity Atricle with some attributes (id, title, category, state (it can be: validated, published, draft), date)   When an a...
    Profile Photo
    last modified by mrkite79
  • Hibernate Envers: AuditQuery throws ClasscastException

    Hello,   I have a basic entity called Report, which is annotated with @Audited annotation. Changes to the entity are being stored in the database correctly by envers, where I have a number of revisions for the Re...
    Profile Photo
    last modified by petteri.pertola
  • Hibernate 4.2.1.Final Envers store_data_at_delete issue

    I am experiencing a problem after upgrading from Hibernate 4.1.12.Final to 4.2.1.Final.   Specifically, I am observing strange behavior while using the Envers store_data_at_delete property feature.   C...
    Profile Photo
    last modified by skatzman
  • Querying multiple types

    Hi,   I'm trying to develop a timeline using Hibernate Envers. To achieve that, I need to query for all changes in all types made in a specific date range. How can I do that?   I already managed to query f...
    Profile Photo
    created by niclarcipretti
  • What happened to EnversSchemaGenerator in 5.0.1-Final version?

    Hi guys,   I can't find EnversSchemaGenerator class anywhere. What happened to it? (ver. 5.0.1.Final)   Cheers
    Profile Photo
    last modified by niclarcipretti
  • Envers insert null objects to AUD

    Hi,   I'm trying to add Envers 3.6.10Final to myproject which contains Hibernate 3.6.10Final and Seam 2.2 . after I insert an Entity envers only inserts revtype and revinfo and the rest of columns remain null. &...
    Profile Photo
    last modified by vata2999
  • MappingException: Type not supported: ManyToOneType

    I am getting this error message org.hibernate.MappingException: Type not supported: org.hibernate.type.ManyToOneType does that meen that manytoone association is not supported?
    Profile Photo
    last modified by genije
  • Envers Unidirectional OneToMany MappedBy

    Not Sure If this Issue is already resolved. Please let me know the link if it is already resolved. Parent  Class has list of child   @Entity @Table(name = "DUA") @Audited public class DuaVO{  ...
    Profile Photo
    last modified by karthik17
  • How can I force Envers to write the contents of a join column

    Hi, this is my problem: My Entity: @Entity @Audited @Table(name = "GLOBAL_PARTY", uniqueConstraints = @UniqueConstraint(name = "UK_GLOBAL_PARTY", columnNames = { "GPKENN" })) public class GlobalParty {  ...
    Profile Photo
    last modified by mvetter
  • Envers:  Can this be done, and if so, how?

    I'm new to using Hibernate Envers Properties.   Does anyone know how I can save a new record where the if the properties values are the same, I would want Envers not to report the property as having been changed...
    Profile Photo
    last modified by genemay
  • Hibernate Envers with many-to-one mapping

    I am using hibernate envers 4.0.1.Final, with Hibernate 4.1.4.Final. I have below entities having relation with each other :   CustomerEntity;   @Entity @Table(name = "customer") @Audited public class Custom...
    Profile Photo
    last modified by anmaru2388
  • Create revision when son is updated/added

    Hi everyone, I have a class called Classroom and a Class called Pupil. Classroom has a list of pupils and Pupil has a reference to its parent Classrom.   @Entity @Audited public class Classroom {   &#...
    Profile Photo
    last modified by aogonzalez
  • Audit entity only if it's aggregated by entity of a given type/auditing subclasses of not audited classes

    Hi,   In our app we have an Address entity. It's used in multiple places. In one of these places we need to audit it.   In other words, when address is a property of, say, object of class A, we want it aud...
    Profile Photo
    created by mich4l
  • How can I reconstruct a whole classes graph as it was at saving moment?

    I use envers auditing for all entities associated in one graph there are OneToMany ManyToOne and ManyToMany associations. After saving they all have the same revision number in correspondent auditing table. I can get ...
    Profile Photo
    created by surkoff