Summary

In this chapter, we covered many ways of fetching datasets from the database. You can use HQL, JPA, or even native SQL. We also showed you how to use the criteria API and further apply filters to collections. We also discussed fetching strategies and when each should be used. Finally, we discussed pagination, which is almost always a functional requirement.

In the next chapter, we will discuss the Hibernate cache, its architecture, strategies, and implementation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.232.11