{{{!#java
@OneToMany(fetch = FetchType.EAGER)
public Set<Value> getValues() { return values;
}
}}}
This is a lazy approach, with a cumulatively heavy performance penalty. To really solve Lazy Initialization Exceptions, you need to find out why the Hibernate session closed before you wanted it to, and/or you need to get a new session reattach the object.