This content has been marked as final.
Show 2 replies
-
1. Re: RevisionEntity (ENVINFO) behaviour
adamw Oct 3, 2009 1:51 PM (in response to nico_b)Hello,
what do you mean by that it's not linked? Each entry in an audit table has a corresponding entry in revision info table, as you write.
Adam -
2. Re: RevisionEntity (ENVINFO) behaviour
nico_b Oct 5, 2009 7:47 AM (in response to nico_b)I Adam,
You're right to ask, I was really unclear. I was looking for a way to request both the audited entity table and the revinfo table in order to retrieve these datas together.
I found a way to do that using :
auditReader.createQuery().forRevisionsOfEntity(MyClass.class, false, true).getResultList();
Moreover, I read your presentation about Envers and it has clarified some key points (especially the analogy between a revision and SVN and the two axis diagram) for me.
Thank you for your reply and keep on the good job,
Cheers,