12.4. Summary

In this chapter, you learned how to work with large and complex datasets efficiently. We first looked at Hibernate's cascading options and how transitive persistence can be enabled with Java Persitence and annotations. Then we covered the bulk operations in HQL and JPA QL and how you write batch procedures that work on a subset of data to avoid memory exhaustion.

In the last section, you learned how to enable Hibernate data filtering and how you can create dynamic data views at the application level. Finally, we introduced the Hibernate Interceptor extension point, the Hibernate core event system, and the standard Java Persistence entity callback mechanism.

Table 12.3 shows a summary you can use to compare native Hibernate features ...

Get Java Persistence with Hibernate now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.