3 Domain models and metadata
This chapter covers
- Discovering the CaveatEmptor example application
- Implementing the domain model
- Examining object/relational mapping metadata options
The “Hello World” example in the previous chapter introduced you to Hibernate and Spring Data; certainly, it isn’t useful for understanding the requirements of real-world applications with complex data models. For the rest of the book, we use a much more sophisticated example application—CaveatEmptor, an online auction system—to demonstrate Jakarta Persistence, Hibernate, and later Spring Data. (Caveat emptor means “Let the buyer beware”.)