There is a bug in envers related with this: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3854.
The problem arises when you mark a class as lazy="false". In your example...
<class name="EmployeeImpl" table="LP_EMPLOYEE" lazy="false" >
You can mark the relations to employee as lazy.
I hope it will help you.
Thanks for the help but the problem is that there are more than 100 places where this entity is being used. If i mark the relation as lazy instead of the entity then i will have to make the changes at all the places.
Also would like to know if "new ToOneDelegateSessionImplementor(versionsReader, entityClass, entityId, revision, verCfg).doImmediateLoad(referencedEntityName) " is the right API to use for eager loading?
It's a good workaround until the bug is fixed