Prev Next

Hibernate / Hibernate Interview Questions III

What is the default fetch type in Hibernate?

The JPA @ManyToOne and @OneToOne annotations are fetched EAGERly by default, while the @OneToMany and @ManyToMany relationships are LAZY by default.

More Related questions...

Show more question and Answers...


Comments & Discussions