How do I get changes made a one-way ManyToMany relationship, through the AuditReader?
Code:
@ManyToMany
private List<Componente> componentes;
table: linha_componente_aud
Code:
+-----+----------+----------------+---------+
| REV | Linha_id | componentes_id | REVTYPE |
+-----+----------+----------------+---------+
| 30 | 1 | 1 | 0 |
| 33 | 2 | 1 | 0 |
| 33 | 2 | 2 | 0 |
| 34 | 1 | 1 | 0 |
| 34 | 1 | 2 | 0 |
| 57 | 1 | 1 | 0 |
| 57 | 1 | 2 | 0 |
| 57 | 1 | 5 | 0 |
+-----+----------+----------------+---------+
I need to audit all changes made (ADD / REMOVE) on this list.
Thanks,
Aller.