Setting lazy For One-to-One relation using Configuration Object
posted 7 years ago
I can set one to one relation from hbm file using constrained="true" lazy="proxy" but the same thing i am trying to do from configuration Object using :
But i am to able to set it lazy . Although it breaks the Join , i mean to say, when i am using above code snippet hibernate fires a second select query to find the associated one-to-one entity. I want to change this immediate second select query to Object Navigation query(i.e set lazy).