1 Reply Latest reply on Oct 31, 2012 10:43 AM by Adam Warski

    Make an eager query to entity history

    Leonid Toshchev Newbie


      I am request an entity history by AuditReaderFactory. But all of referenced entities extracts as lazy and later, when i'm trying to take they're fields, i'm receive LazyInitialisationException.

      So, here is the question: did i have some ways to make this request eager? or initialize fields early, advisable, without Hibernate.initialize?