In POJO Java beans such code can be beneficial, especially with collections:
class POJO {
private Collection<
I would strongly discourage lazy initialization for properties in an ORM entity.
We had a serious issue when doing lazy initialization of an entity property using Hibernate, so I would strongly discourage it. The problem we saw was manifest by a save taking place when we were issuing a search request. This is because when the object was loaded the property was null, but when the getter was called it would return the lazy initialized object so hibernate (rightly) considered the object dirty and would save it before issuing the search.