Log in to follow, share, and participate in this community.
Thread Hibernate and jsf setting up with jboss 7
Hibernate and jsf setting up with jboss 7Hi In the last week i had different problems about the configurations of hibernate... I created a maven project in eclipse, this is my pom.xml <project xmlns="http://maven.apache.org/PO...
Traversing relations with envers?Hello! We use hibernate envers for auditing. I am currently developing the reading part of historic data. While most of our requirements are fullfilled by envers, one thing could not be achieved: The traversin...
Thread Fail to create FK to revinfo table for each schema
Fail to create FK to revinfo table for each schemaHi, I'm trying to integrate envers (4.2.3) within my application but I'm having some issues :-(. The database engine is an MS SQL Server 2008 and I've segregated tables using schemas so I have something like the foll...
PreInsert event Listener HibernateWell while working with hibernate , I had a use case where i need to implement PreInsert Hibernate Event Listener. But the problem with Insert Event Listener,whatever value you update on object onPrePersist me...
@Audited on a subclass... againHi guys, I know this has been asked a thousand times, but I've also tried a thousand solutions and it keeps not working... I have a classic situaton with entities A, B and C, which inherit from each other in ...
Audit query using Set propertyI have an audited class A which has a Set of B: @Audited class A { Set<B> bees; } @Audited class B { String name; } I would like to...
Thread Query for the last entries before specific revision
Query for the last entries before specific revisionHi, I am having difficulties writing a query that will return a list of Entity(s) that are: - less than a specific Revision Number; - exclude any Entity(s) that have been deleted; - and are the latest revis...
Wrong Revison NumberHi, ich have a serious Problem with the Revision Number in my Revision Entity My Revision Entity looks like: ID Revision Info timestamp 10 100 some info 2012-05-09 11:58:42.499 10 102 some info ...
Thread Sql with wrong columnname in one-to-many association
Sql with wrong columnname in one-to-many associationHello, I have a one-to-many association between class A and class C, class C is derived from class B. Class A is Audited, class C is not. B and C are in one table (strategy = InheritanceType.SINGLE_TABL...
Envers generate wrong audit tableI'm using Spring Data JPA 1.6.4 with Hibernate 4.3.6.Final + envers into a Spring MVC 4 web application secured with Spring Security 3.2.5. The web application is deployed on a Tomcat 7.0.52 web container, configured ...
Envers Behaviour (Newbie question)I'm trying to use envers in my application, but I stumbled upon some subtleties. I want to know if this should be the correct behaviour. I have these classes: Person && Contact Person (i...
Thread How store audit tables into a different database ?
How store audit tables into a different database ?Hello, I know that Envers can store audit tables into a different schema or catalog but could you tell me if it is possible to configure Envers to store them into a different database (another persistence unit...
Envers - Dynamically change audit tablesGood morning, Please, could you tell me if there is a way to dynamically enable/disable audited tables ? I don't want to use annotation into entities because it require a code source modification and I...
Thread ClassCastException HibernateProxy with running liferay 6.2
ClassCastException HibernateProxy with running liferay 6.2Hi guys i have a very strange problem with jboss and lieferay. I use the jboss7.1 and liferay 6.2. If I deploy my own ear project and access my ejbs via remote or locale interface everything is fine. But if i now do...
Thread [SOLVED] Order by @DiscriminatorColumn using AuditQuery
[SOLVED] Order by @DiscriminatorColumn using AuditQueryHi, Recentrly I needed to retrieve data from DB sorted by Discriminator Column and I'm stuck. Problem is, I haven't found any solution how to to this using AuditQuery. In simple HQL I could use (...) order by Entit...
@NotAudited not functioning as expectedHi, We integrated Hibernate Envers with our product. There is an entity "schedule" which has several fields, including "last execution time" and "next execution time" fields which are updated frequently. ...
How to trace login/logout actions?Hi, I am new to Hibernate Envers. Is there a way to track any custom action taken by user (such as login, logout) instead of the generic "update" event?