how use lazy initialization in hibernate

Hi, I want improve my selenium test using lazy initialization in hibernate.

Could someone suggest resources where I can find detailed description of this pattern and how to use it?


well, please explain your question with more details, cause I think that you are mixing two concepts that are not interconnected - that is "lazy initialization in hibernate" and "selenium". What exactly do you need ?

I need somehow organize my entry data for test. Now I use separate class with getters and setters. But I want to try another aproachs - I heard about lazy initialization connected with hibernate  - but really do not know how to use this. Maybe I misundestood something, please explain how you see this and what is difference, what I mixed?