lazy « HBM « JPA Q&A





1. set lazy as true during HQL execution time    stackoverflow.com

In our application, we have various objects set to lazy false based on the application needs. However, in one of the use case we want to ignore all the lazy settings ...

2. Differecne between proxy and lazy attributes in for hibernate hbm file    coderanch.com

-------------------------------------------------------------------------------- An object proxy is just a way to avoid retrieving an object until you need it. Hibernate 2 does not proxy objects by default. However, experience has shown that using object proxies is preferred, so this is the default in Hibernate 3. Object proxies can be defined in one of two ways. First, you can add a proxy attribute to ...