1 Reply Latest reply on Nov 17, 2005 6:30 AM by Emmanuel Bernard

    override lazy loading

    Gang Duan Newbie


      Anyone can tell me what is the equivalent method of Hibernate.initialize() in EntityManager?

      I want a collection of an object to be loaded in some situation and not all the time. I don't want to change the mapping to make the lazy=false. Is there a way to load the collection other than using System.out.print(xxx)?