This figure shows the the common Java object relationships that are easy and difficult to represent using relational databases.

Easy to represent:

Difficult to represent: