AuditReader reader = AuditReaderFactory.get(entityManager);
AuditQuery query = reader.createQuery().forRevisionsOfEntityWithChanges(Customer.class, false);
List<Object[]> revisionsCustomer = query
.add(AuditEntity.id().eq(3014l))
.addOrder(AuditEntity.revisionProperty("timestamp").desc())
.getResultList();
I have edited the instance with id 3014
4 times. Each time editing a different column.
But in revisionsCustomer
it shows that every time I have changed the same column (the one I have edited the last time).
Is this a bug, or I am doing something wrong?
Envers version: 5.3.20