Remote Lazy Loading in Hibernate -


normally web applications having access hibernate session use lazy loading fetch parent entity multiple child entities. in case of distributed application presentation layer doesn't have access hibernate session, how lazy loading happen (remotely)?

how lazy loading happen (remotely)?

it won't, hibernate not support out-of-the-box (for reason, see this instance).

your option eagerly fetch want (which considered practice anyway) or explicitly ask lazy collections on remote side (by calling "hibernate" side again).


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -