sab
sab

Reputation: 9977

what is the difference between Hibernate.initialize and eager fetching

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

Upvotes: 6

Views: 4688

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570295

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