JPA collection mapping

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.utilPackage contains a collection of all the classes and interfaces the frame.


 

Guess you like

Origin www.cnblogs.com/borter/p/12423944.html