Creating a many-to-one (or one-to-one) relationship between entities
Creating a one-to-many (or many-to-many) relationship between entities
Creating a mapped superclass
Customizing Roo-generated identifier definitions
Generating database metadata
Creating entities from a database
Introduction
In the previous chapter, we looked at how Spring Roo simplifies developing enterprise applications that make use of JPAs for persistence. In this chapter, we continue our discussion of JPAs and look at recipes that let us add dynamic finder methods, create relationships between entities, and perform database reverse engineering to auto-generate JPA entities.