lazy « Update « JPA Q&A





1. Dynamically updating the lazy flag    forum.hibernate.org

I have a class Camp mapped which two other entities as follows. - - In certain instance i would like to have the lazy false and in ...

2. JPA merge operation returns lazy object    forum.hibernate.org

Hi, I have got a lot of POJOs that i store to DB over hibernate. Now i came accross to a problem. When i call merge operation on an object (say class A.class) , the operation returns an object in the same class,that is A.class. However for some (only one) objects, it returns the proxy for the class, which has toString ...

4. Two questions about Lazy and update    forum.hibernate.org

czy11421 wrote: Two questions No. 1 I have one-to-many List set as Lazy. In search, I found if I use findById and detached creita will load List automatically, if I use find (HQL), it will not load the List. Anybody knows why ? If I want a strict "Lazy", in any scenario, don't load the List, what should I do ? ...