This figure shows a one-to-one relationship in Java and a relational database.