Hi,
I was searching for a hibernate feature that is "delete but not completely delete (don't fetch in any queries, but keep it for future needs)" and I met Envers.
My possible query would be "fetch all deleted x Entities"
Is it a correct usage of Envers?
With Envers, the entities are deleted from the main tables, but they are kept in the audit tables.
Yes, you can query for all deleted entities of a given class.
Adam