Log in to follow, share, and participate in this community.
Thread How can I reconstruct a whole classes graph as it was at saving moment?
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 ...
Thread Is schema generation still possible with envers 5.0.0 beta1?
Is schema generation still possible with envers 5.0.0 beta1?Up until v4.3.9 there was the org.hibernate.envers.tools.hbm2ddl.EnversSchemaGenerator. However, in the 5.0.0-beta1 artifact (obtained from Maven Repository: org.hibernate » hibernate-envers » 5.0.0.Beta1...
Thread @OneToMany + @OrderColumn does not work correctly
@OneToMany + @OrderColumn does not work correctlyI have a Tree structure with a one-to-many relationship of children that are ordered via a list with an @OrderColumn("children_order"). When creating a tree with two children, envers is not writing audit records with ...
Thread Wildfly 8.2 Final with two persistence units?
Wildfly 8.2 Final with two persistence units?Hi. Our company is trying to migrate from jboss 6.1 to Wildfly 8.2. Everything works fine untill we deploy two jar's with two different persistence units (separate persistence.xml files in both ejb-jars). ...
Thread Hibernate Envers: Initializing ListProxy of related objects
Hibernate Envers: Initializing ListProxy of related objectsI've two entities: User and UserGroup. Relation between them is @ManyToMany and I'm using envers for auditing these entities, class level @Audited annotation is placed on both of them. However, when I try to execute t...
Thread Forcing batcher resource cleanup on transaction completion
Forcing batcher resource cleanup on transaction completionHi, When we trying to complete the task using local human-task, I have found the below exception frequently. Could you please check and advise me. Versions:- JBoss:- jboss-as-7.0.2 Final Hibenate:- 3...
japanese english translation servicesExpertrans Global is a pr0fessional language solutions provider that brings extensive experience in the deployment and sustainment 0f large scale linguist operations and the management 0f linguist contracts in support...
Thread How to audit @Modifying @Query of spring-data-jpa by hibernate envers
How to audit @Modifying @Query of spring-data-jpa by hibernate envers@Modifying(clearAutomatically = true) // spring-data-jpa @Query("update TravelArticle f set f.praiseTimes = ? where f.id = ?") public int incPraiseCounter(final long counter, final long id); ....... @Entity...
transaction is not activeHi, I'm using envers 1.2.2, hibernate 3.2.2, seam 2.2.0 on a JBoss 4.2.3. I have a problem when retrieving some of my entities. The structure looks something like this: E1 - onetomany - E2 - manytoone - E3
E2 - ma...
Thread where can i get the documentation for Envers 1.1.0.GA?
where can i get the documentation for Envers 1.1.0.GA?I want to add Envers to a system using hibernate core 3.2.6.ga. I should be able to use envers 1.1.0.GA but I cannot find any documentation for that version of the Jar file. Could someone please post a link to the doc...
Thread How to enable audit in component based application?
How to enable audit in component based application?I want to understand that "Is it possible to enable envers audit in component based architecture?" Suppose I have security component which I define dependency(.jar) in my application. In this component no @Audit and...
Thread Generate User defined audit tables with hibernate envers per entity
Generate User defined audit tables with hibernate envers per entityI wanted to leverage envers such that it could be plugged with any of the designing approach. How could I generate a audit table which I specify as entity of an hibernate. Is there any possibility that we ge...
Thread LazyInitializationException in AbstractCollectionMapper
LazyInitializationException in AbstractCollectionMapperHello I've set in persistence.xml: <property name="org.hibernate.envers.global_with_modified_flag" value="true" /> I've started database from scratch. Now my application in some places (when trying to persis...
Thread Can I create Hibernate Envers specific tables using Liquibase
Can I create Hibernate Envers specific tables using LiquibaseHi, Our Java app is Spring based and we have domain classes and the corresponding schema generated via Liquibase. We are planning to add support for a single domain to be audited. a. We don't have hibernate.xml...
Multiple Revisions per TransactionHello, Community. I know I've seen this issue raised at least twice, but I would really like to be able to have multiple revisions per transaction. Why? So that if I perform more than one "step" or "action" wi...
Envers and hbm.xmlHi, We are trying to use Envers with hbm.xml mapping files but we have a problem on a one-to-many relationship: java.lang.ExceptionInInitializerError at com.prodega.dao.EnversTest.init(EnversTest.jav...