Initially I thought Lazy Initializtion sounded like a nice feature, but now I believe it is not very practical.
I agree that not loading an entire parent/child relational tree is a great idea, but should not the developer explicitly code when the children elements are loading instead of implicitly having Hibernate do this?
Say I have an Order and OrderItems bean. If I load the Order, forward to the
JSP and then display OrderItems for that Order in the JSP, is that not very much like putting the SQL in the JSP? I understand that a call to initialize() will force Hibernate to load the child Collection, I guess I just wish this was required instead of optional.
Any other opinions?