You don't understand my question. I know what is lazy or non lazy. I'm using lazy="true" and hibernate
behavior is like lazy="false".
My question is: What can make hibernate don't proceed correctly if I using lazy="true" and his behavior is like lazy="false"?
gopal wrote:
if you want to load child record when parent table loads then,
use <lazy="false">
all data will be loaded at a time.
if <lazy="true"> then you have to manually load the collection .
for eg:
Parent parent = dao.getParent();
Childern children = parent.getChildern().size();
try this.
note:Dont forget to rate yes/no, anyone.