Log in to follow, share, and participate in this community.
Thread Hibernate Envers retrieve latest revision number without updating db
Hibernate Envers retrieve latest revision number without updating dbHi Adam, wanted to ask I am trying to retrive the latest revision number, without persisting a new entity before gettting the revision number. like this AuditReaderFactory.get(entityManager).getCurrentRevisio...
Underlaying entity changedHi, Envers is really great at showing me the revisions of a given entity, but it doesn't let me know when a underlaying entity changed. I've googled and searched here but can't find anything suitable entry. e.g...
How to resolve Loader Constraint violationHi All, I am deploying my web application - test.war on JBoss 6. After successful deployment when I try to log in I get following exception complete request: org.springframewo...
Hibernate envers not generate tables auditI have a problem with Envers, not work, not generate tables. I use version:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</...
Thread How to audit master & details table information.
How to audit master & details table information.Hi, I am using hibernate 4.1.9 final.I have two tables master and details table.Primary key of master table is foreign key to details table. When I add record to master and details th...
Thread _aud table was not being filled with anything
_aud table was not being filled with anythingHi, I have a problem with envers that _aud table was not being filled with anything. Infrastructure : JBoss 5.1.0 Spring 3.2.5 Hibernate 3.5.3 hibernate-envers 3.5.3 I have set Audited on EO Class...
Thread Split audit tables into read-only and read-write
Split audit tables into read-only and read-writeI am looking into ways to save some space with our audit tables, which have accumulated a lot of rows with nearly identical information. We use MySQL and InnoDB tables, and table compression doesn't work very well bec...
Load many-to-many relations.Hi, I have an entity A with a many-to-many relation (with join table A-B) to entity B. I'm auditing only the A and A-B tables. The problem is following: when loading the last revision of A, envers load...
Thread is join two entities in audit query possible?
is join two entities in audit query possible?Hi Am using Envers version : 3.6.3.Final I wanted to join two audit tables having a one to many relationship, with criteria's to be passed on both the tables. For eg: Event.java @OneToMany(m...
Thread Envers classloading problem (Jboss7 second instance from quartz)
Envers classloading problem (Jboss7 second instance from quartz)Ok, this will be extremely wired but I hope you can get through my problem: I have a fully working jboss7 ejb3 application with envers revisioning. The application is running without problems and is registerin...
Please look into this issueHi In SQLServer2005LimitHandler.java file in fillAliasInSelectClause API in this class at line number 158 nextComa position is updating with alias name but the endpos variable is not updating at same ti...
Thread StackOverflowError : Can't save object with Envers
StackOverflowError : Can't save object with EnversHi, I have a problem with Envers and auditing entities. I have an existing application which, unfortunately, isn't really well built, and I'd like to apply envers on it. Hibernate was already working properly. ...
table inheritance - postgresql & HibernateHi all, Is any one used table inheritance in database with hibernate via JPA? If so, can you suggest for below use case I have to update entity on parent table, for which I have to use 'only' keyword ...
Configure lazy loading in an envers queryI need to search an entity for the date d, but i saw that envers returns me my object and charge also all the relationnal objects. My problem is that if i have for example 10000 results, i'm afraid the loading of this...
Thread How to make an initial snapshot of the audited entities?
How to make an initial snapshot of the audited entities?When an entity is first modified, if there is a relation to another entity that has not been modified yet, the audited entity can not reflect the relation to the original entity. Is there a whay to tell envers to mak...