Hibernate emits a lot of lazy initialization exceptions, but EclipseLink does not. When an entity is detached, and trying to access an uninitialized attribute, the exception will occur. But it is not an issue with EclipseLink. How does EclipseLink handle it differently?
e.g.
public class Employee {
@OneToMany(fetch=FetchType.LAZY)
private List<Task> tasks;
}
Employee employee = em.find(Employee.class, 1);
em.detach(employee);
employee.getTasks(); // exception here