Hi I have two classes like this:
public class Indicator implements Serializable {
...
@OneToMany(mappedBy = \"indicator\",fetch=FetchType.LAZY)
priv
Lazy exceptions occur when you fetch an object typically containing a collection which is lazily loaded, and try to access that collection.
You can avoid this problem by
Hibernate.initialize(obj);Further I would recommend looking at the related links to your right where this question has been answered many times before. Also see Hibernate lazy-load application design.