Collection (Collection) are a plurality of objects are grouped into a java frame unit. It is used to store, retrieve and manipulate data summary.
In JPA, you may be used to set and persistent wrapper class String object. JPA allows mapping set of three objects stored - basic type, and embedded type entity.
Collection Type
Upon request, we can use different types of collections to persistent objects. As follows -
- List
- Set
- Map
java.util
Package contains a collection of all the classes and interfaces the frame.