Reputation: 2977
What is the better way to get list of audited entites? It is possible to use REVCHANGES table and look up all audited entytoes from this table but I belive that this is not best solution.
Thanks, Volodymyr
Upvotes: 0
Views: 446
Reputation: 8636
Given Hibernate's Configuration object, you can call AuditConfiguration.getFor(cfg), and then the EntitiesConfigurations object to check if an entity is audited or not.
Note though that this is not an official API.
Upvotes: 1