sab
sab

Reputation: 10007

what is the difference between Hibernate.initialize and eager fetching

Why I can't use EAGER fetching for the same purpose

Upvotes: 6

Views: 4692

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570615

You can use EAGER fetching to obtain the same result, at the end. But this means things will be always eagerly loaded (vs when you just need to). Is this what you want?

References

Upvotes: 8

Related Questions