2 Replies Latest reply on Mar 15, 2006 6:03 PM by Dan Liu

    can FetchType.EAGER be used when loading an entity?

    Dan Liu Apprentice

      I have an entity with all its ref attibutes lazy loaded. this is fine when in browing mode. However when I need to load all its perperties, there seem no way I can do it. I wanna do something like em.find(Foo.class,id,FetchType.EAGER). Are there any other ways of doing it?