A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Can we access lazy collection from jsp page
Joined: Sep 24, 2009
Jan 04, 2011 01:34:35
Can we access a List collection which is set as lazy=true, from jsp page ? Or do we get an exception while accessing lazy lists?
I am slow but sure
Joined: Apr 14, 2004
Jan 04, 2011 02:23:46
Yes you can, assuming you have an active session.
It is sorta covered in the
JavaRanch Style Guide
subject: Can we access lazy collection from jsp page
what is lazy initialization in hibernate
[SCBCD 5.0] Possibly error in EJB 3.0 persistence spec
Send resultset from servlet to jsp
JPA:I get cannot simultaneously fetch multiple bags when >=2 enteties FetchType.EAGER
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014