I am a newbie to Java Persistence API and Hibernate.
What is the difference between FetchType.LAZY and FetchType.EAGER in Java Persistence API?
Basically,
LAZY = fetch when needed EAGER = fetch immediately