Questions tagged as 'hibernate-envers'

2
answers

Hibernate correctly configured does not insert into the database

My code does not enter into the Mysql database. It identifies all the database, the tables and the fields, but the insertion is not done. UserID.java package br.com.sistec.dao; import org.hibernate.Session; import org.hibernate.Tran...
asked by 27.06.2015 / 23:13
1
answer

How to store change date / time in DB using Hibernate Envers?

I need to keep a log of all transactions of an entity with Hibernate Envers. I configured persistence.xml as follows: <!-- Configurações do Envers --> <property name="hibernate.ejb.event.post-insert" value="org.hiberna...
asked by 08.04.2014 / 14:52
0
answers

Relationship error between tables when implementing audit with Hibernate Envers

I'm inserting auditing into my application using Hibernate Envers , but I'm encountering the following error when I use Postgres . Error:    Caused by: liquibase.exception.MigrationFailedException: Migration   failed for change...
asked by 18.04.2018 / 19:14
1
answer

Problem of Hibernate Envers with class objects within a class

I have the following class. @Entity @Audited @GenericGenerator(name = "Sequence_Generic", strategy = "com.paradigma.ecred.dao.hibernate.generator.ManualGenerator") // sequence generic criado para a atividade 510 @SelectBeforeUpdate @DynamicUpd...
asked by 05.04.2014 / 14:13