About lazy load, before you to get the lazy load property, you need do that like
Hibernate.initialize(groups); groups is your lazy load property by hibernate.
Pay more attention: Session do not close is necessarily.
About lazy load, before you to get the lazy load property, you need do that like
Hibernate.initialize(groups); groups is your lazy load property by hibernate.
Pay more attention: Session do not close is necessarily.