O'Reilly logo

The Definitive Guide to Grails 2 by Graeme Rocher, Jeff Scott Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

Image

GORM

As you may have garnered from this book’s table of contents, the persistence layer of Grails is a critical part of the picture. In Chapter 3 you were given a surface-level understanding of what domain classes are and how they map onto the underlying database. In this chapter you’ll plunge headfirst into 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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required