Chapter 3. Advanced JPA Support in Spring Roo

In this chapter, we will cover:

  • Viewing candidate dynamic finder methods
  • Adding dynamic finder methods to an entity
  • 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.254.151