Chapter 4. Working with Collections
In this chapter, we will cover the following recipes:
- Persisting
List
- Persisting
Set
- Persisting
Map
- Persisting
Array
Introduction
Hibernate allows us to map the Java collections object with data structures. In this chapter, we will look at how to deal with Java collections using Hibernate. Java collections commonly include List
, Map
, Set
, and Array
. All standard Java collections are supported by hibernate.
Get Java Hibernate Cookbook 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.