Log in to follow, share, and participate in this community.
Thread Is it possible to use part of Envers functionality with Bitemporal tables
Is it possible to use part of Envers functionality with Bitemporal tablesI am using DB2 bitemporal tables. So the history is managed at the database level. I therefore don't need to create revisions from code. However I would like to read the revisions. I am using hibernate to maintain th...
Envers with Database managed HistoryI have history managed in the database as we are in migrating the data in stages. Since the database writes to history table, I would like to disable the audit table write. But still be able to use the AuditReader. I...
Thread Please HELP, strange record inserstions with envers
Please HELP, strange record inserstions with enversHello everyone, I am facing a critical bug on envers, i think the records are not inserted correctly (please see below). how could a modification have and REVEND = NULL ? (REVTYPE = 1 and REVEND = null) Also...
Thread QueryException on map associaton when using Envers
QueryException on map associaton when using EnversHi! I have an existing JEE application (running on Wildfly 10) with about 100 entity-classes where I now want to use Envers to enable versioning of the entity data. Migrating the whole data model to support E...
Thread Request for example how to use OR or AND for AuditCriterions
Request for example how to use OR or AND for AuditCriterionsI would like to apply a AuditCriterion as below but am struggling to find an example of how to do this. OR_criterion1 = (prop[0] like str[0] OR prop[1] like str[0]) OR_criterion2 = (prop[0] like str[1] OR pro...
Thread Error when loading collection with deleted entities
Error when loading collection with deleted entitiesHi everyone, We are trying to get the full data from an entity and its related entities in a certain date. And the problem is that we get an error when accessing items from a collection that were deleted after...
Hibernate envers : composite keysHi, I have encountered an issue while trying to use envers audit features. Can envers handle composite key ? If yes, from which version ? i have this error : Caused by: org.hibernate.p...
Manually trigger a revision in Envers.I'm thinking of leveraging Envers in my application for the following reasons: 1. The application uses JPA 2.1 provided by Hibernate, and the annotations for entities and relationships is understood by Envers ...
Version Maintenance Based On RowI need to maintain versioning for every row of table. Is It possible using hibernate envers.Envers works in a similar way but revision number is incremental in all actions and its database based.
Envers FAQThis is a community-edited FAQ where you can describe the most common problems you encounter when using Envers and how to solve them. So feel free to edit this document! Where can I find Envers documentation? ...
Audit subclass not persists revtypeIn my project I have an abstract super class and a subclass (Product and SpecialProduct) both are audited, when I persiste, merge or delete SpecialProduct evenrs put a revtype in Product but put null in revtype for Sp...
Thread Finding entity versions up to a revision id
Finding entity versions up to a revision idI have just started looking at Envers as a possible solution for managing versioned configuration data. It does look like one thing we would need may not have a straightforward solution. Let's say we hav...
Envers + JTA + OracleHello everyone, It appears i have the following problem... Requisites: 1. Entity annotated with @Audited 2. Oracle 10g 3. JTA 4. Wildfly 10 To replicate the problem i simply rename one column of t...