Manual

Java and SQL cover different domains and represent data in different ways. For example, relations in a DBMS cannot be nested. That is, a table cannot contain or encapsulate another table the way a Java object can contain another object. If an e-commerce site is using JPA to save orders to a database, it may contain an Order object that contains ... ................
................