CHAPTER 10GORM
As you may have garnered from the table of contents for this book, with no fewer than three chapters dedicated to the subject, the persistence layer of Grails is a critical part of the picture. In Chapter 3, you obtained a surface-level understanding about what domain classes are and how they map onto the underlying database. In this chapter, you're going to plunge headfirst into understanding the inner workings of GORM.
As a starting point, you'll learn about the basic persistence operations involved in reading and writing objects from a database. After going through the basics, you'll then be taken through the semantics of GORM including as many corner cases and surprises as we're able to fit into a single chapter.
Persistence ...
Get The Definitive Guide to Grails, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.