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

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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. ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required