Is there a way to check if a instance was loaded from the envers tables or from the "normal" tables?
In case of using the AuditReader, I may wrap the results into other objects, but what about entities that are loaded via a relationship from this objects?
Hmm, I don't think it's possible currently. Maybe you could do: entityManager.contains(...) to check if an entity is loaded by this persistance context.
Retrieving data ...